[PATCH] D108392: [OpenCL] Fix parsing of opencl-c.h in CL 3.0 with device-scope atomics enabled

Kévin Petit via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 4 07:19:13 PDT 2021


kpet added inline comments.


================
Comment at: clang/lib/Headers/opencl-c.h:13381
 uint __ovld atomic_fetch_xor(volatile __global atomic_uint *object, uint operand);
-uint __ovld atomic_fetch_xor(volatile __local atomic_uint *object, uint operand);i
 int __ovld atomic_fetch_and(volatile __global atomic_int *object, int operand);
----------------
Anastasia wrote:
> This is a fairly trivial fix. You can just commit it straight away if you like. :)
I've committed the fix alone as b8b6a5bc86f570a6fb94b88b8c9d634c3af71eca.


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