Skip to content

Conversation

@mthuurne
Copy link
Contributor

The clCreateCommandQueue() function will return the error code CL_INVALID_QUEUE_PROPERTIES when passed unsupported properties, not CL_INVALID_PROPERTY as the original code was checking for.

Relevant API docs.

With this change, I can run the CLBlast support with the Rusticl driver of Mesa 23.1.0 on Linux.

The `clCreateCommandQueue()` function will return the code
`CL_INVALID_QUEUE_PROPERTIES` when passed unsupported properties,
not `CL_INVALID_PROPERTY` as the original code was checking for.
@SlyEcho
Copy link
Contributor

SlyEcho commented May 23, 2023

That was my bad, I didn't check the docs well enough.

@SlyEcho SlyEcho merged commit 7d87381 into ggml-org:master May 23, 2023
@mthuurne mthuurne deleted the opencl-command-queue-invalid-property branch May 23, 2023 19:24
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.

2 participants