[PATCH] D106778: [OpenCL] opencl-c.h: add CL 3.0 non-generic address space atomics

Dave Airlie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 25 19:42:41 PDT 2021


airlied created this revision.
airlied added a project: clang.
Herald added subscribers: ldrumm, jfb, Anastasia, yaxunl.
airlied requested review of this revision.
Herald added a subscriber: cfe-commits.

CL 2.0 interdocued atomics and generic address space so there were
only one set of APIs for doing atomics, however since CL 3.0
makes generic address space optional, there has to be new sets
of atomic interfaces to handle that cases.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106778

Files:
  clang/lib/Headers/opencl-c.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106778.361571.patch
Type: text/x-patch
Size: 102645 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210726/92e242a2/attachment-0001.bin>


More information about the cfe-commits mailing list