I am having Nvidia Geforce 9500 GT card, i have updated the drivers and installed NVidia cuda tool kit along with opencl available on the website.
when i run the code below in my visual studio 2010. The function clGetPlatformIDs is returning -1001 and the value of the second argument of the function is “test” is returned as NULL. I guess this means the device is not detected. Can some one please help in making my device getting detected.
int main(int argc, char **argv)
cl_uint ok = 1;
result = clGetPlatformIDs(ok, &test, &num);