[PATCH] D92231: [OpenCL] Implement extended subgroups fully in headers

Piotr Fusik via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 4 08:10:23 PST 2020


PiotrFusik requested changes to this revision.
PiotrFusik added inline comments.
This revision now requires changes to proceed.


================
Comment at: clang/lib/Headers/opencl-c-base.h:17-23
+#define cl_khr_subgroup_extended_types
+#define cl_khr_subgroup_non_uniform_vote
+#define cl_khr_subgroup_ballot
+#define cl_khr_subgroup_non_uniform_arithmetic
+#define cl_khr_subgroup_shuffle
+#define cl_khr_subgroup_shuffle_relative
+#define cl_khr_subgroup_clustered_reduce
----------------
These are currently defined as "1": https://godbolt.org/z/MnoWeo
Is the change to blank intentional?
This should be tested.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92231/new/

https://reviews.llvm.org/D92231



More information about the cfe-commits mailing list