-
Notifications
You must be signed in to change notification settings - Fork 38
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 device not recognized inside Conda environment #149
Comments
@Yiping-Huang I have scripts that build all of this on Arch - I too am using Julia from Arch repositories. It turns out you need the This should also work with the Julia binary tarball from the Julia download page and with Julia built from source. |
@znmeb That's exactly what I did to make OpenCL working. And I managed to solve the problem! The package ocl-icd (as a dependent of packages clblas and clfft) in my miniconda environment overrides the ocl-icd of my system's. Creating a symlink of system's libOpenCL.so.1.0.0 works. And I think editting ocl-icd.pc inside conda environment should work
|
Yeah I don't think there is anything we can do about conda clobbering the systems |
Is Anaconda on GitHub? Maybe they need an issue for this? Seems like their Julia should work with OpenCL if they support Julia and OpenCL. |
It seems to be the default behavior. |
For anyone who runs into this issue like I did, |
For me, conda install ocl-icd-system does not work. Still after activating env devices available there are not visible for the OpenCL extension. |
I have a conda environment with Julia from conda-forge.
If I do cl.platforms(), it says
CLError(code=-1001, CL_PLATFORM_NOT_FOUND_KHR)
But the Julia installed from official Arch Repo does work.
OpenCL.Platform('AMD Accelerated Parallel Processing' @0x00007fcc83edd098)
My clinfo reads:
The text was updated successfully, but these errors were encountered: