* Add cl_khr_extended_versioning definitions
Signed-off-by: Einar Hov <einar.hov@arm.com>
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
* Fix definition of CL_VERSION_MAJOR_KHR
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
removed comments around arguments for CL.h
removed comments around arguments for cl_ext.h
removed comments around arguments for cl_ext_intel.h
removed comments around arguments for cl_dx9_media_sharing_intel.h
removed comments around arguments for cl_egl.h, cl_gl.h, and cl_gl_ext.h
removed comments around arguments for cl_va_api_media_sharing_intel.h
whitespace cleanup
These various deltas made it extremely difficult to work with non-Apple
implementations of OpenCL on macOS. Apple always shipped their own
versions of the headers anyway, and now that Apple have officially
deprecated OpenCL on their platforms there is no reason to keep these
deltas.
Fixes https://github.com/KhronosGroup/OpenCL-Headers/issues/31 as well
as a few other unreported issues.
...to the final CL_IMPORT_TYPE_PROTECTED_ARM name.
The extension spec hasn't been released publicly yet.
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Note that "cl.h" defines the macro only for OpenCL 1.2 or greater since
"cl_khr_fp64" was made a core-optional feature from OpenCL 1.2 onwards.
This creates an issue when users targeting OpenCL 1.1 or lower try to query
the device for double precision support using the macro.
This change fixes this issue by adding the macro in "cl_ext.h" for OpenCL 1.1 or lower.