[PATCH] D108392: [OpenCL] Fix parsing of opencl-c.h in CL 3.0 with device-scope atomics enabled
Anton Zabaznov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 4 08:49:40 PDT 2021
azabaznov added inline comments.
================
Comment at: clang/include/clang/Basic/OpenCLExtensions.def:114
+OPENCL_OPTIONALCOREFEATURE(__opencl_c_atomic_scope_device, false, 300, OCL_C_30)
+OPENCL_OPTIONALCOREFEATURE(__opencl_c_atomic_scope_all_devices, false, 300, OCL_C_30)
OPENCL_OPTIONALCOREFEATURE(__opencl_c_subgroups, false, 300, OCL_C_30)
----------------
Oops, sorry I missed that. @Anastasia, I think this one is header only. We discussed that here: https://reviews.llvm.org/D103241. We should either extend //-cl-ext// for unknown features (finally) or use it //as -D__opencl_c_atomic_scope_all_devices //
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108392/new/
https://reviews.llvm.org/D108392
More information about the cfe-commits
mailing list