File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change 11// RUN: triton-translate -triton-to-llvmir -split-input-file %s | FileCheck %s
22
3- // CHECK: define spir_kernel void @test_intel_reqd_sub_group_size() !intel_reqd_sub_group_size ![[REQD_SUB_GROUP_SIZE:.*]] {
4- llvm.func spir_kernelcc @test_intel_reqd_sub_group_size () attributes {triton_gen.intel_reqd_sub_group_size = [32 : i32 ]} {
5- llvm.return
6- }
7- // CHECK: define spir_kernel void @test_max_work_group_size() !max_work_group_size ![[MAX_WORK_GROUP_SIZE:.*]] {
8- llvm.func spir_kernelcc @test_max_work_group_size () attributes {triton_gen.max_work_group_size = [128 : i32 , 1 : i32 , 1 : i32 ]} {
9- llvm.return
10- }
11- // CHECK: define spir_kernel void @test_reqd_work_group_size() !reqd_work_group_size ![[REQD_WORK_GROUP_SIZE:.*]] {
12- llvm.func spir_kernelcc @test_reqd_work_group_size () attributes {triton_gen.reqd_work_group_size = [128 : i32 , 1 : i32 , 2 : i32 ]} {
13- llvm.return
14- }
15-
16- // CHECK-DAG: ![[REQD_SUB_GROUP_SIZE]] = !{i64 32}
17- // CHECK-DAG: ![[MAX_WORK_GROUP_SIZE]] = !{i64 128, i64 1, i64 1}
18- // CHECK-DAG: ![[REQD_WORK_GROUP_SIZE]] = !{i64 128, i64 1, i64 2}
19-
20- // -----
21-
223llvm.func @foo (%arg0: !llvm.ptr , %arg1: !llvm.ptr )
234
245// CHECK-LABEL: define void @triton_gen.cache_controls(
You can’t perform that action at this time.
0 commit comments