Skip to content

Conversation

@ahesham-arm
Copy link
Contributor

CL_KHR_COMMAND_BUFFER_VERSION is incorrect, should be CL_KHR_COMMAND_BUFFER_EXTENSION_VERSION instead, which is defined in CL/cl_ext.h. This fixes a compilation error seen with -Wundef and -Werror.

`CL_KHR_COMMAND_BUFFER_VERSION` is incorrect, should be
`CL_KHR_COMMAND_BUFFER_EXTENSION_VERSION` instead, which is defined in
`CL/cl_ext.h`. This fixes a compilation error seen with `-Wundef` and
`-Werror`.

Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
@CLAassistant
Copy link

CLAassistant commented Mar 26, 2025

CLA assistant check
All committers have signed the CLA.

@bashbaug bashbaug mentioned this pull request Mar 27, 2025
@ahesham-arm
Copy link
Contributor Author

@bashbaug can we please re-trigger the CI for this now that #322 is merged?

@bashbaug
Copy link
Contributor

bashbaug commented Apr 1, 2025

Closing and reopening to re-trigger CI...

@bashbaug bashbaug closed this Apr 1, 2025
@bashbaug bashbaug reopened this Apr 1, 2025
@bashbaug
Copy link
Contributor

bashbaug commented Apr 1, 2025

Hrm, I think we'd need to merge the latest main branch to see CI pass.

I'm going to go ahead and merge this as-is. The fix looks correct, and even if it isn't, it'd be no worse off than it was previously.

@bashbaug bashbaug merged commit 286e10f into KhronosGroup:main Apr 1, 2025
44 of 154 checks passed
Menkib64 added a commit to Menkib64/lc0 that referenced this pull request Jul 20, 2025
There has been incomåatible extension changes in opencl.h. My system
opencl.h doesn't compile with old opencl.hpp because type names has
changed. The new opencl.hpp adds version checks for incompatible
extensions.
There was a typo in the last release which was fixed by
KhronosGroup/OpenCL-CLHPP#321. Therefore I choose to use the latest
version from commit KhronosGroup/OpenCL-CLHPP@g2a60842
Menkib64 added a commit to Menkib64/lc0 that referenced this pull request Jul 20, 2025
There has been incomåatible extension changes in opencl.h. My system
opencl.h doesn't compile with old opencl.hpp because type names has
changed. The new opencl.hpp adds version checks for incompatible
extensions.
There was a typo in the last release which was fixed by
KhronosGroup/OpenCL-CLHPP#321. Therefore I choose to use the latest
version from commit KhronosGroup/OpenCL-CLHPP@2a60842
Menkib64 added a commit to Menkib64/lc0 that referenced this pull request Jul 20, 2025
There has been incompatible extension changes in opencl.h. My system
opencl.h doesn't compile with old opencl.hpp because type names has
changed. The new opencl.hpp adds version checks for incompatible
extensions.
There was a typo in the last release which was fixed by
KhronosGroup/OpenCL-CLHPP#321. Therefore choice is the latest
version from KhronosGroup/OpenCL-CLHPP@2a60842
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants