Commit Graph

60 Commits

Author SHA1 Message Date
James Price
8de2a5c3f7 Fix clCreateFromGLBuffer error code result type 2019-01-14 10:44:49 +00:00
Nagy-Egri Máté Ferenc
2d041a0a1d Fixed w4201 triggering with MSVC in /W4 /Za builds 2018-12-11 21:43:42 +00:00
bashbaug
03490c3f8c add suffixed enums for cl_khr_mipmap_image 2018-10-31 13:58:02 -07:00
James Price
5ddbb13966 Remove all Apple specific content from headers
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.
2018-10-23 16:52:38 +01:00
Kevin Petit
a749dc6b85 Add enums for cl_arm_get_core_id
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2018-08-13 16:00:22 +01:00
Kevin Petit
4ff68adbdd Rename CL_IMPORT_TYPE_SECURE_ARM
...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>
2018-08-01 12:42:17 +01:00
Umair Ahmed
320d7189b3 Add CL_DEVICE_DOUBLE_FP_CONFIG
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.
2018-07-11 16:43:22 +01:00
Umair Ahmed
4d33894367 remove CL_DEVICE_HALF_FP_CONFIG
"cl_khr_fp16" is still included as an extension in higher OpenCL versions unlike "cl_khr_fp64"  
which is an optional-core feature from OpenCL 1.2. Hence remove the above defined macro  
as it is already defined in "cl_ext.h"
2018-07-11 16:43:22 +01:00
bashbaug
990202be02 added clSetCommandQueueProperty to unified headers 2018-07-03 14:09:00 -07:00
Ben Ashbaugh
de26592167 Unified Headers
This commit switches from version-specific OpenCL headers to
unified OpenCL headers that can work with any OpenCL version.
See README.md for details.
2018-05-14 14:08:28 -07:00