[PATCH] D92004: [OpenCL] add CL 3.0 optional feature support to opencl-c.h

Dave Airlie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 23 21:44:17 PST 2020


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

The opencl-c.h needs a lot of rework to support OpenCL C 3.0 with the optional feature set.

This patch refactors all the C11 atomics, along with changing when generic pointer interfaces can be used and a few other bits.

It will need some decent review and maybe some testing by other CL users to make sure I've haven't messed up when used with a fully featured CL 3.0 stack.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92004

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92004.307241.patch
Type: text/x-patch
Size: 164649 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201124/fb438aff/attachment-0001.bin>


More information about the cfe-commits mailing list