I've come across a similar issue I think: I'm on debian unstable and I haven't seen my GTX 280 show up in the platforms or devices yet. I've tried all of these I think:
nvidia-opencl-dev - NVIDIA OpenCL development files nvidia-libopencl1 - NVIDIA OpenCL library nvidia-libopencl1-ia32 - please switch to multiarch nvidia-libopencl1:i386 nvidia-opencl-common - NVIDIA OpenCL driver nvidia-opencl-icd - NVIDIA OpenCL ICD nvidia-opencl-icd-ia32 - please switch to multiarch nvidia-opencl-icd:i386 nvidia-libopencl1-dev - NVIDIA OpenCL development files I've also tried installing drivers from the official cuda 5 distribution (the one not using .deb files from nvidia's website). I feel like I'm stumped on what filename should I put into the nvidia.icd file in /etc/Opencl/vendors. The nvidia-opencl-common package sets up nvidia.icd to point to: libnvidia-opencl.so.1 The only matching library I can find is: /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.1 This library has no symbols: $ nm /usr/lib/x86_64-linux-gnu/libnvidia-opencl.so.304.88 0000000000a5a190 b cudbgApiClientPid 0000000000a5a194 b cudbgApiClientRevision 0000000000130eb0 t cudbgApiInit 0000000000a3b744 b cudbgDebuggerInitialized 0000000000a5a164 b cudbgIpcFlag 0000000000a5a170 b cudbgRpcEnabled 0000000000a5a160 b cudbgSessionId Perhaps unsurprisingly, no nvidia platform appears when I run clinfo. When I install the amd opencl package, the icd file points to a library that has cl* symbols, and the amd reveals my CPU as a device. All good. What do I have to do to get my nvidia card to be visible as an opencl device? On Wed, Apr 17, 2013 at 2:20 AM, Alexander Kläser <[email protected]>wrote: > Dear Andreas, > > Am 16.04.2013 16:13, schrieb Andreas Kloeckner: > > OpenCL consists of two parts: >> >> - libOpenCL.so* - the "ICD loader." This dispatches your calls to >> different vendor implementations, called "ICDs," for "Installable >> Client Driver." >> >> - The actual ICDs. These are 'registered' by dropping a file with the >> name of a shared library into /etc/OpenCL/vendors. >> >> Each vendor ships an ICD loader and an ICD. In principle, you should be >> able to use every ICD loader with every ICD. >> > > thanks a lot for the explanation! I was not aware of these details, but > now it's clear. I'll give it a whirl and let you know! > > best regards > Alex > > > > ______________________________**_________________ > PyOpenCL mailing list > [email protected] > http://lists.tiker.net/**listinfo/pyopencl<http://lists.tiker.net/listinfo/pyopencl> >
_______________________________________________ PyOpenCL mailing list [email protected] http://lists.tiker.net/listinfo/pyopencl
