-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clBLAS-client --cpu gives CL_INVALID_COMMAND_QUEUE error on OS X #187
Comments
clBLAS-client --gpu gives the exact same message, fwiw. |
(Just in case it's useful, invalid_command_queue usually means that the kernel read/write outside the bounds of an array.) |
Line 350 of /tmp/clblas20151115-2237-z21tyj/clBLAS-2.8/src/library/blas/xgemm.cc:
I suppose commandQueues[0] doesn't point to a valid command-queue. It also turns out that functions other than gemm get further along before also ending up with a CL_INVALID_COMMAND_QUEUE:
|
It's normally because you wrote off the end of an array. You can have a look at #108 for an example of how to debug this. Edit: but basically the concept is:
Edit 2: recommend turning off opencl optimizations, there is a paragraph in the linked issue, giving an example of how to do this. |
Thanks! I'm kind of hoping from the problems I'm having that it's not any single kernel, but rather a single problem that's affecting everything. My impression from scrutinizing clfunc_common.hpp is that the "releasing command queue" message will only appear if the error occurred when the destructor was called on If that's the case, does it make sense to try to go through all the kernels inserting |
Ah, interesting. Fair enough :-) |
I built clBLAS 2.8 on my 13" MacBook Pro (Retina, late 2014, 10.10.5) using a Homebrew formula I tweaked from the one in the homebrew-science tap. While everything seemed to install fine I get the following error when I try to check it with clBLAS-client:
-36 is apparently CL_INVALID_COMMAND_QUEUE. Any idea what's going awry here?
The text was updated successfully, but these errors were encountered: