You are not logged in.
OpenCl applications were working perfectly prior to a full system upgrade I did, where `opencl-mesa` package was updated to version `18.0.0`.
I have the following packages installed:
opencl-mesa
ocl-icd
opencl-headers
In `/etc/OpenCL/vendors` I have a `mesa.icd` file with the line `libMesaOpenCL.so.1.0` and in `/usr/lib` I have a `libMesaOpenCL.so.1.0.0` file.
Running `ls /etc/OpenCL/vendors` returns: `mesa.icd`
and I have a `/etc/ld.so.conf.d/00-usrlib.conf` file with the line `/usr/lib` as instructed by the documentation
Most applications fails with an error concerning clGetPlatformIDs. For instance, pyopencl:
>>> import pyopencl as cl
>>> cl.get_platforms()
pyopencl.cffi_cl.LogicError: clGetPlatformIDs failed: <unknown error -1001>
Everything seems to be in order and was working before, why is the loader failing?
Last edited by OmarSquircleArt (2018-04-16 16:42:17)
Offline
This issue was fixed when I upgraded to version `18.0.0-4` of opencl-mesa package.
Offline