Ubuntu 16.10 NVIDIA OpenCL? - Ask Ubuntu


i have brand new install of ubuntu 16.10. want test against nvidia version of opencl (i need portability across devices). so, installed cuda toolkit via

sudo apt-get install nvidia-cuda-toolkit clinfo 

however, when run clinfo is:

number of platforms:            0 

i have tried find libopencl.so shared object, cannot find anywhere. insight?

edit

the output of sudo lshw -c display

  *-display                         description: vga compatible controller        product: virtualbox graphics adapter        vendor: innotek systemberatung gmbh        physical id: 2        bus info: pci@0000:00:02.0        version: 00        width: 32 bits        clock: 33mhz        capabilities: vga_controller bus_master rom        configuration: driver=vboxvideo latency=0        resources: irq:18 memory:e0000000-e0ffffff memory:c0000-dffff 

you notice virtual machine. prototype , have done previous work cuda before on older os (e.g 14.04).

make sure using nvidia proprietary driver. installing nvidia-opencl-dev , nvidia-opencl-icd-xxx xxx correspond driver version running should fine. worked me on 16.04


Comments

Popular posts from this blog

download - Firefox cannot save files (most of the time), how to solve? - Super User

windows - "-2146893807 NTE_NOT_FOUND" when repair certificate store - Super User

sql server - "Configuration file does not exist", Event ID 274 - Super User