Adds support for macro __opencl_c_program_scope_global_variables
in C++ for OpenCL 2021 enabling a respective optional core feature
from OpenCL 3.0.
This change aims to achieve compatibility between C++ for OpenCL
2021 and OpenCL 3.0.
Paths
| Differential D109305
[OpenCL] Supports optional program scope global variables in C++ for OpenCL 2021 ClosedPublic Authored by Topotuna on Sep 6 2021, 1:18 AM.
Details Summary Adds support for macro __opencl_c_program_scope_global_variables This change aims to achieve compatibility between C++ for OpenCL
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 6 2021, 3:05 AM This revision was landed with ongoing or failed builds.Sep 16 2021, 4:48 AM Closed by commit rG054e331d9dbd: [OpenCL] Supports optional program scope global variables in C++ for OpenCL 2021 (authored by Topotuna). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 372899 clang/include/clang/Basic/OpenCLOptions.h
clang/test/SemaOpenCL/storageclass.cl
|