KhronosGroup / OpenCL-CLHPP

Khronos OpenCL-CLHPP
Apache License 2.0
369 stars 129 forks source link

use the new semaphore specific device handle list enum #256

Closed bashbaug closed 10 months ago

bashbaug commented 1 year ago

Updates the C++ bindings to use the new semaphore-specific device handle list enum rather than the older overloaded enum.

Includes a preprocessor check so these changes will work with both older and newer headers. When newer headers become widespread we can remove this check - this could be part of this PR or in a subsequent PR.

For reference, the PR to update the headers with the new enums is: https://github.com/KhronosGroup/OpenCL-Headers/pull/240

bashbaug commented 11 months ago

I've updated the handling of the new enum, as we discussed:

bashbaug commented 10 months ago

Merging as discussed in the November 14th teleconference.