Skip to content

Conversation

bashbaug
Copy link
Contributor

fixes #1413

It is only a CL_INVALID_VALUE error when param_value is NULL if param_value_size is greater than zero.

Also tidies up a few of the CL_INVALID_OPERATION error conditions.

It is only a CL_INVALID_VALUE error when param_value is NULL if
param_value_size is greater than zero.

Also tidies up a few of the CL_INVALID_OPERATION error conditions.
@bashbaug bashbaug requested a review from lakshmih September 2, 2025 16:32
@joselopeqti
Copy link
Contributor

Do we want this change to apply only when ext_buffer_device_address is supported by the implementation?

@bashbaug
Copy link
Contributor Author

bashbaug commented Sep 4, 2025

No, please have a look at the linked issue. The worst inconsistency is unrelated to cl_ext_buffer_device_address.

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.

clSetKernelExecInfo error code inconsistency
2 participants