Commit Graph

25 Commits

Author SHA1 Message Date
lengyang3
1b3af3f750 update opencl header version to v2022.05.18
Signed-off-by: lengyang3 <lengyang3@hisilicon.com>
2023-12-19 12:46:19 +08:00
Jeremy Kemp
3259391929
Added definitions for cl_img_generate_mipmap. (#135)
Accompanies KhronosGroup/OpenCL-Docs#489
2020-11-27 21:55:01 -08:00
Jeremy Kemp
c65949121e
Added missing define for cl_img_use_gralloc_ptr. (#134) 2020-11-27 21:47:01 -08:00
Jeremy Kemp
b7cad4bbf9
Added definitions for cl_img_mem_properties. (#136)
Accompanies KhronosGroup/OpenCL-Docs#491
2020-11-20 13:40:27 -08:00
Kévin Petit
1b2a1850f4
Add definitions for cl_ext_cxx_for_opencl (#109)
Specification in https://github.com/KhronosGroup/OpenCL-Docs/pull/399

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2020-09-02 13:33:56 -07:00
Kévin Petit
e8ca48d46c
Add definitions for cl_arm_scheduling_controls (#110)
Specification in https://github.com/KhronosGroup/OpenCL-Docs/pull/423

Signed-off-by: Plamen Petkov <plamen.petkov@arm.com>
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2020-08-30 22:14:26 -07:00
Kévin Petit
3471ac0330
Introduce cl_properties type (#97)
Matching specification change made in https://github.com/KhronosGroup/OpenCL-Docs/pull/352

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2020-07-20 09:38:07 -07:00
Einar Hov
dbb17cd93e
Add cl_khr_device_uuid definitions (#91)
Signed-off-by: Einar Hov <einar.hov@arm.com>
2020-06-03 11:43:29 -07:00
XZiar
59182a8228
add tokens for cl_amd_device_attribute_query (#90) 2020-05-11 20:43:14 -07:00
Kévin Petit
0f87a32ae1
Add cl_khr_extended_versioning macro (#85)
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2020-04-22 13:41:09 -07:00
Ben Ashbaugh
daa2fd2ce5 add missing error code CL_CONTEXT_TERMINATED_KHR 2020-03-27 13:46:53 +00:00
James Price
35deb7576b
Change license to Apache 2.0 (#76) 2020-03-25 00:52:39 -07:00
Kévin Petit
debfc8a8b1
Add CL_IMPORT_DMA_BUF_DATA_CONSISTENCY_WITH_HOST_ARM definition (#72)
...and cleanup a comment.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2020-02-14 14:11:57 -08:00
Kévin Petit
4ba6f9bee8
Add definitions for cl_arm_import_memory_android_hardware_buffer (#61)
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2020-01-16 14:44:16 +00:00
Kévin Petit
de78569cf6 Add cl_khr_extended_versioning definitions (#59)
* 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>
2020-01-09 10:16:03 -08:00
Kévin Petit
0d5f18c6e7
Add definitions for cl_arm_job_slot_selection (#52)
Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-08-06 17:33:11 +01:00
bashbaug
49b601ba14 added suffixed enums for cl_khr_image2d_from_buffer 2019-03-12 10:47:20 -07:00
bashbaug
49f07d3133 small typo fix for pfn_notify 2019-01-17 18:40:56 +00:00
Ben Ashbaugh
f937adaf3a removing comments around arguments:
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
2019-01-17 18:40:56 +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
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