You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clang/test/SemaCUDA/cluster_dims.cu
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -29,12 +29,12 @@ template <int x, int y, int z> void test_template_expr(void) __cluster_dims__(x
29
29
//NS-error@+1 {{__cluster_dims__ is not supported for this GPU architecture}}
30
30
__global__void__cluster_dims__(32, 2, 4) test_too_large_dim_0() {} // common-error {{integer constant expression evaluates to value 32 that cannot be represented in a 4-bit unsigned integer type}}
31
31
32
-
// cuda-error@+2 {{only a maximum of 8 thread blocks in a cluster is supported}}
33
-
// amd-error@+1 {{only a maximum of 16 thread blocks in a cluster is supported}}
32
+
// cuda-error@+2 {{cluster does not support more than 8 thread blocks; 64 provided}}
33
+
// amd-error@+1 {{cluster does not support more than 16 thread blocks; 64 provided}}
34
34
__global__void__cluster_dims__(4, 4, 4) test_too_large_dim_1() {} // NS-error {{__cluster_dims__ is not supported for this GPU architecture}}
35
35
36
-
// cuda-error@+3 {{only a maximum of 8 thread blocks in a cluster is supported}}
37
-
// amd-error@+2 {{only a maximum of 16 thread blocks in a cluster is supported}}
36
+
// cuda-error@+3 {{cluster does not support more than 8 thread blocks; 64 provided}}
37
+
// amd-error@+2 {{cluster does not support more than 16 thread blocks; 64 provided}}
38
38
template<unsigned a, unsigned b, unsigned c>
39
39
__global__void__cluster_dims__(a, b, c) test_too_large_dim_template() {} // NS-error {{__cluster_dims__ is not supported for this GPU architecture}}
40
40
template __global__void test_too_large_dim_template<4, 4, 4>(); // common-note {{in instantiation of function template specialization 'test_too_large_dim_template<4U, 4U, 4U>' requested here}}
0 commit comments