]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
Fix handling of "invalid property" when creating OpenCL command queue (#1565)
authorMaarten ter Huurne <redacted>
Tue, 23 May 2023 16:01:15 +0000 (18:01 +0200)
committerGitHub <redacted>
Tue, 23 May 2023 16:01:15 +0000 (19:01 +0300)
commit7d873811f31d4d8c909015c946a862c0089cda7d
treeffd6648ae17a5a92ad0b48b085bf4cbc7f8a5891
parent2e6cd4b02549e343bef3768e6b946f999c82e823
Fix handling of "invalid property" when creating OpenCL command queue (#1565)

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.
ggml-opencl.cpp