I attach full list of packages installed on my machine, running OpenCL
on NVIDIA GTX 460.
Some packages are for CUDA (I've installed CUDA SDK packages from
experimental), some for AMD OpenCL (run on CPU).
I know it is possible to run OpenCL (and PyOpenCL) on Debian
(with contrib and non-free enabled) without needing to install
To have working OpenCL you need:
1. ICD management library - it loads OpenCL implementations.
I recommend ocl-icd-libopencl1 which is open source and works
without problems with various OpenCL implementations. I had some
problems with NVIDIA ICD loader.
2. OpenCL implementation - for you it is nvidia-opencl-icd
Its version depends on installed driver, so if you are using
driver from experimental you should install nvidia-opencl-icd
from experimental, and so on.
3. As you are writing on this list - PyOpenCL ;-)
You can try to install packaged pyopencl (python-pyopencl
or python3-pyopencl, depending on your needs). It should
write about any missing dependencies.
My advice - install packaged software. Mixing .debs with
official NVIDIA drivers can cause problems. I know that Debian
contains not-so-recent PyOpenCL, but we are in freeze now
so no new versions of packages are accepted.
Regarding lack of symbols - I also do not have any symbols
in libnvidia-opencl.so. As for AMD:
$ nm /usr/lib/x86_64-linux-gnu/libamdocl64.so
nm: /usr/lib/x86_64-linux-gnu/libamdocl64.so: no symbols
and clinfo shows both platforms.
Tomasz Rybak GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A 488E C654 FB33 2AD5 9860