github KhronosGroup/OpenCL-Headers v2023.12.14

latest releases: v2024.10.24, v2024.05.08
11 months ago

Synchronize with OpenCL v3.0.15 specification release.

This release includes several changes that affect backward compatibility:

  • The CL_DEPTH enum is now properly considered an extension enum pre-OpenCL 2.0 and a core enum for OpenCL 2.0 and newer, so applications compiling for OpenCL 1.2 or earlier will need to include an extension header to access this functionality.
  • The CL_UNORM_INT24 and CL_DEPTH_STENCIL enums are now properly considered extension enums for all OpenCL versions, so applications will need to include an extension header to access this functionality.
  • The value for the CL_ME_SKIP_BLOCK_TYPE_8x8_INTEL enum was incorrect in the previous header release and has been corrected.

In addition, the following changes were made for provisional extensions that affect backward compatibility:

  • The CL_COMMAND_BUFFER_STATE_INVALID_KHR enum is removed, so any code checking for this state can be removed.
  • The CL_DEVICE_HANDLE_LIST_KHR enum has been split into external memory and semaphore specific CL_MEM_DEVICE_HANDLE_LIST_KHR and CL_SEMAPHORE_DEVICE_HANDLE_LIST_KHR enums, so code using the older enum should be updated to use the newer enums.

Don't miss a new OpenCL-Headers release

NewReleases is sending notifications on new releases.