CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
61 lines
1.7 KiB
LLVM
61 lines
1.7 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 5
|
|
; RUN: llc < %s -mcpu=sm_90 -mattr=+ptx90 | FileCheck %s
|
|
|
|
target triple = "nvptx64-nvidia-cuda"
|
|
|
|
; Test "blocksareclusters" attribute with full "reqntid" and "cluster_dim"
|
|
; attributes.
|
|
define ptx_kernel void @kernel1(ptr %input, ptr %output) #0 #1 #2 {
|
|
; CHECK-LABEL: kernel1(
|
|
; CHECK: .reqntid 1024, 1, 1
|
|
; CHECK-NEXT: .reqnctapercluster 2, 2, 2
|
|
; CHECK-NEXT: .blocksareclusters
|
|
; CHECK-NEXT: {
|
|
; CHECK-EMPTY:
|
|
; CHECK-EMPTY:
|
|
; CHECK-NEXT: // %bb.0:
|
|
; CHECK-NEXT: ret;
|
|
ret void
|
|
}
|
|
|
|
; Test "blocksareclusters" attribute with single dimension "reqntid" and
|
|
; "cluster_dim" attributes.
|
|
define ptx_kernel void @kernel2(ptr %input, ptr %output) #0 #3 #4 {
|
|
; CHECK-LABEL: kernel2(
|
|
; CHECK: .reqntid 1024
|
|
; CHECK-NEXT: .reqnctapercluster 2
|
|
; CHECK-NEXT: .blocksareclusters // @kernel2
|
|
; CHECK-NEXT: {
|
|
; CHECK-EMPTY:
|
|
; CHECK-EMPTY:
|
|
; CHECK-NEXT: // %bb.0:
|
|
; CHECK-NEXT: ret;
|
|
ret void
|
|
}
|
|
|
|
; Test "blocksareclusters" attribute with two dimensions(not z dimension)
|
|
; "reqntid" and "cluster_dim" attributes.
|
|
define ptx_kernel void @kernel3(ptr %input, ptr %output) #0 #5 #6 {
|
|
; CHECK-LABEL: kernel3(
|
|
; CHECK: .reqntid 512, 2
|
|
; CHECK-NEXT: .reqnctapercluster 2, 2
|
|
; CHECK-NEXT: .blocksareclusters // @kernel3
|
|
; CHECK-NEXT: {
|
|
; CHECK-EMPTY:
|
|
; CHECK-EMPTY:
|
|
; CHECK-NEXT: // %bb.0:
|
|
; CHECK-NEXT: ret;
|
|
ret void
|
|
}
|
|
|
|
attributes #0 = { "nvvm.blocksareclusters" }
|
|
|
|
attributes #1 = { "nvvm.reqntid"="1024,1,1" }
|
|
attributes #2 = { "nvvm.cluster_dim"="2,2,2" }
|
|
|
|
attributes #3 = { "nvvm.reqntid"="1024" }
|
|
attributes #4 = { "nvvm.cluster_dim"="2" }
|
|
|
|
attributes #5 = { "nvvm.reqntid"="512,2" }
|
|
attributes #6 = { "nvvm.cluster_dim"="2,2" }
|