Some extensions were defined in the headers without guarding by the target. This commit fixes this and also removed redundant use of extension pragma.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D92244
[OpenCL] Prevent adding vendor extensions for all targets ClosedPublic Authored by Anastasia on Nov 27 2020, 12:30 PM.
Details Summary Some extensions were defined in the headers without guarding by the target. This commit fixes this and also removed redundant use of extension pragma.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Feb 25 2021, 12:24 AM Closed by commit rG3ec82e519513: [OpenCL] Prevent adding vendor extensions for all targets (authored by Anastasia). · Explain WhyApr 30 2021, 6:43 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 341884 clang/lib/Headers/opencl-c-base.h
clang/lib/Headers/opencl-c.h
clang/test/Headers/opencl-c-header.cl
|