Adds support for a feature macro __opencl_c_images 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.
Differential D109002
[OpenCL] Supports optional image types in C++ for OpenCL 2021 Topotuna on Aug 31 2021, 8:55 AM. Authored by
Details Adds support for a feature macro __opencl_c_images in C++ for This change aims to achieve compatibility between C++ for OpenCL
Diff Detail Event Timeline
|
I think we should just replace IsOpenCLC30 as it is when only used in the diagnostic that we should report the same as for OpenCL 3.0.
Also I would suggest changing name to IsOpenCLC30Compatible to make it clearer.