Recently I've tried to run a program, was correctly compiled and executed on AMD Radeon 5670 GPU, but now when I wanted to run on NVIDIA GPU Tesla 2500 It was not working. But the same Kernel code is giving the output when I change the device to CPU (uisng clGetDeviceIds() argument CL_DEVICE_TYPE_GPU). Please tell me where is the problem if any one has undergone this kind of problems.

I tried running some of the sample programs which come with the NVIDIA SDK those are running properly and showing the details of existing GPU's and configurations.

Thanks in advice..