[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
Thu Nov 26 19:16:24 PST 2020


airlied updated this revision to Diff 307951.
airlied added a comment.

I've moved a bunch of longer checks into just feature checks and defined the features at the top of the file.

There are some APIs that are CL 3.0 feature only so those retain the full check.


Repository:
  rG LLVM Github Monorepo

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

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.307951.patch
Type: text/x-patch
Size: 155777 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201127/3820ce84/attachment-0001.bin>


More information about the cfe-commits mailing list