OpenCL Cis a subset C99.
There is also OpenCL C++(OpenCL 2.1 and OpenCL 2.2 specs), which is a subset C++14, but it has not yet been implemented by any of the vendors (OpenCL 2.1 is partially implemented by Intel, but not by C ++ kernels).
Host code can be written in C, C ++, python, etc.
In short, you can read about OpenCL on wikipedia . There is a description of each version of OpenCL. As pyopenclyou can use OpenCL1.2 (as far as I know, not yet support OpenCL2.0). Learn more about OpenCL on the Khronos website .
source
share