-
Notifications
You must be signed in to change notification settings - Fork 2
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
OpenCL generates clCreateBuffer error after built with debug symbols #198
Comments
Do the OpenCL examples in |
Yes, the
However, the same program works with the Cuda backend. |
No, I meant the OpenCL examples here, not the nomp examples. Do they fail on Debug mode as well? Just trying to see if this is a OpenCL issue or a OpenCL+nomp issue. |
No, they do not fail. Looks like it is an OpenCL + Nomp issue. |
I see thanks for checking. Only thing different between the builds is the compilation flags I think. Not sure why |
The error
/libnomp/src/opencl.c:41 clCreateBuffer failed with error code: -2125574144
is repeatedly occurring as the cause for most of the test cases when the project is built with debug symbols. This issue is specific to the OpenCL implementation, while the CUDA backend appears to be functioning correctly.To reproduce the steps:
./lncfg -b debug && ./lninstall --no
.lnrun t -b opencl -v 2
.The text was updated successfully, but these errors were encountered: