I posted this question on askubuntu at http://askubuntu.com/questions/846769/ubuntu-16-10-nvidia-opencl but it is receiving very little attention. In brief I have a new Ubuntu 16.10 installation. Although I do program with CUDA, I have a project that requires portability across devices so I need to do some OpenCL. I want to see if I can get this up and running on Ubuntu 16.10 but so far no luck.
I install the cuda toolkit with:
sudo apt-get install nvidia-cuda-toolkit
and also install ‘clinfo’ to query the OpenCL platform and devices
sudo apt-get install clinfo
But when I run clinfo all I get is:
Number of platforms: 0
Regardless of what devices I have installed on the machine, it should still detect the platform. Any thoughts?