Skip to content

Commit 0da292c

Browse files
committed
Require CL2.0 for the subgroup-related extensions
1 parent 2929e1c commit 0da292c

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

clang/include/clang/Basic/OpenCLExtensions.def

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,16 @@ OPENCL_EXTENSION(__cl_clang_bitfields, true, 100)
9292

9393
// Khronos OpenCL extensions
9494
OPENCL_EXTENSION(cl_khr_extended_bit_ops, true, 100)
95-
OPENCL_EXTENSION(cl_khr_integer_dot_product, true, 100)
96-
OPENCL_EXTENSION(cl_khr_subgroup_ballot, true, 100)
97-
OPENCL_EXTENSION(cl_khr_subgroup_clustered_reduce, true, 100)
98-
OPENCL_EXTENSION(cl_khr_subgroup_extended_types, true, 100)
95+
OPENCL_EXTENSION(cl_khr_integer_dot_product, true, 200)
96+
OPENCL_EXTENSION(cl_khr_subgroup_ballot, true, 200)
97+
OPENCL_EXTENSION(cl_khr_subgroup_clustered_reduce, true, 200)
98+
OPENCL_EXTENSION(cl_khr_subgroup_extended_types, true, 200)
9999
OPENCL_EXTENSION(cl_khr_subgroup_named_barrier, true, 100)
100-
OPENCL_EXTENSION(cl_khr_subgroup_non_uniform_arithmetic, true, 100)
101-
OPENCL_EXTENSION(cl_khr_subgroup_non_uniform_vote, true, 100)
102-
OPENCL_EXTENSION(cl_khr_subgroup_rotate, true, 100)
103-
OPENCL_EXTENSION(cl_khr_subgroup_shuffle, true, 100)
104-
OPENCL_EXTENSION(cl_khr_subgroup_shuffle_relative, true, 100)
100+
OPENCL_EXTENSION(cl_khr_subgroup_non_uniform_arithmetic, true, 200)
101+
OPENCL_EXTENSION(cl_khr_subgroup_non_uniform_vote, true, 200)
102+
OPENCL_EXTENSION(cl_khr_subgroup_rotate, true, 200)
103+
OPENCL_EXTENSION(cl_khr_subgroup_shuffle, true, 200)
104+
OPENCL_EXTENSION(cl_khr_subgroup_shuffle_relative, true, 200)
105105
OPENCL_EXTENSION(cl_khr_work_group_uniform_arithmetic, true, 200)
106106

107107
// AMD OpenCL extensions

0 commit comments

Comments
 (0)