We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 877f312 commit a6dc6beCopy full SHA for a6dc6be
clang/test/SemaCUDA/amdgpu-attrs.cu
@@ -85,7 +85,7 @@ __global__ void work_group_size_hint_2_2_2() {}
85
__attribute__((vec_type_hint(int)))
86
__global__ void vec_type_hint_int() {}
87
88
-// expected-warning@+1{{'intel_reqd_sub_group_size' attribute ignored}}
+// expected-error@+2{{attribute 'intel_reqd_sub_group_size' can only be applied to an OpenCL kernel function}}
89
__attribute__((intel_reqd_sub_group_size(64)))
90
__global__ void intel_reqd_sub_group_size_64() {}
91
0 commit comments