[OpenCL] Implement extended subgroups fully in headers.
authorAnastasia Stulova <anastasia.stulova@arm.com>
Fri, 27 Nov 2020 15:37:08 +0000 (15:37 +0000)
committerAnastasia Stulova <anastasia.stulova@arm.com>
Thu, 10 Dec 2020 16:40:15 +0000 (16:40 +0000)
commita84599f177a67d4a8c1c30ccd96c99fa40af75f7
treecb2f694c2a83f789f705670a95966f4d3a5b91a1
parent839e845277894ad37fbca8063cbf1955331fbeff
[OpenCL] Implement extended subgroups fully in headers.

Extended subgroups are library style extensions and therefore
they require no changes in the frontend. This commit:
1. Moves extension macro definitions to the internal headers.
2. Removes extension pragmas because they are not needed.

Tags: #clang

Differential Revision: https://reviews.llvm.org/D92231
clang/include/clang/Basic/OpenCLExtensions.def
clang/lib/Headers/opencl-c-base.h
clang/test/Headers/opencl-c-header.cl
clang/test/SemaOpenCL/extension-version.cl