Adds support for a feature macro __opencl_c_fp64 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 D108989
[OpenCL] Supports optional 64-bit floating point types in C++ for OpenCL 2021 ClosedPublic Authored by Topotuna on Aug 31 2021, 5:29 AM.
Details Summary Adds support for a feature macro __opencl_c_fp64 in C++ for OpenCL This change aims to achieve compatibility between C++ for OpenCL
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 1 2021, 2:30 AM Closed by commit rGbd74f4b10834: [OpenCL] Supports optional 64-bit floating point types in C++ for OpenCL 2021 (authored by Topotuna). · Explain WhySep 3 2021, 2:58 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 370523 clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaType.cpp
clang/test/CodeGenOpenCL/printf.cl
clang/test/Misc/opencl-c-3.0.incorrect_options.cl
clang/test/SemaOpenCL/fp64-fp16-options.cl
|