clGetPlatformIDs : Device Not Found
I'm trying to use OpenCL on two different GPUs : Tesla C 1060 and Quadro FX 5800. When I use this code :
err == clGetPlatformIDs(1, &platform, &platNum);
The function returns the error "Device not found" (on the two GPUs). I searched what's the problem but I can't find the solution or even the cause. Does someone have an idea of the problem and how to solve it please ?
On the Quadro FX, I'm working with OpenCL 1.0 and CUDA 3.2 ; on the Tesla C 1060, I'm working with OpenCL 1.0 and CUDA 4.0 (both on Linux).
Re: clGetPlatformIDs : Device Not Found
most probably you know but you have one 'equals' sign more.
Originally Posted by Elliole
so correct should be:
err = clGetPlatformIDs(1, &platform, &platNum);
another thing: what value you are getting here (will give you number of available platforms)?
err = cclGetPlatformIDs(0, NULL, & platNum);