We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When building, /usr/bin/ld: cannot find -lCL.
/usr/bin/ld: cannot find -lCL
$ locate libCL # No results $ locate libOpenCL /opt/intel/opencl/libOpenCL.so /opt/intel/opencl/libOpenCL.so.1 /opt/intel/opencl-runtime/lib64/libOpenCL.so /opt/intel/opencl-runtime/lib64/libOpenCL.so.1 /opt/intel/opencl-runtime/lib64/libOpenCL.so.2.0 /usr/lib/libOpenCL.so /usr/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so.1.0.0
The text was updated successfully, but these errors were encountered:
I encountered this issue as well.. A quick fix is to update package.go, replace the line
#cgo linux LDFLAGS: -lCL
with
#cgo linux LDFLAGS: -lOpenCL
Sorry, something went wrong.
No branches or pull requests
When building,
/usr/bin/ld: cannot find -lCL
.$ locate libCL # No results $ locate libOpenCL /opt/intel/opencl/libOpenCL.so /opt/intel/opencl/libOpenCL.so.1 /opt/intel/opencl-runtime/lib64/libOpenCL.so /opt/intel/opencl-runtime/lib64/libOpenCL.so.1 /opt/intel/opencl-runtime/lib64/libOpenCL.so.2.0 /usr/lib/libOpenCL.so /usr/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so.1.0.0
The text was updated successfully, but these errors were encountered: