[PATCH] D120254: [OpenCL] Align subgroup builtin guards

Sven van Haastregt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 21 08:40:55 PST 2022


svenvh added inline comments.


================
Comment at: clang/lib/Headers/opencl-c-base.h:85
+// Internal feature macro to provide subgroup builtins.
+#define __opencl_subgroup_builtins 1
+#endif
----------------
I'm in doubt whether we could just reuse `__opencl_c_subgroups` for this?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120254



More information about the cfe-commits mailing list