I use Matlab 2011a and the command parallel.gpu.CUDAKernel() to call my .cu kernel with variables and matrices created in matlab as gpuArrays. Till yesterday, everything was fine but when I made a tiny change in my kernel my gpu crashed.
I restarted Matlab and I changed back my kernel to its previous version but from that time I can not execute my code. I get the same error:
??? Error using ==> feval
An error occurred during: waiting for a kernel
invocation to complete. The CUDA error was:
I tried to find similar problems in the internet but with no success. I executed also the command
but nothing changed. Moreover, I shut down the PC, I removed the gpu grom the motherboard (in order to empty the memory) and I still get the same error. The most wierd issue is that even when I moved my gpu to an other machine with a fresh installation of Matlab 2011a I got the same error. So, I assume that it is something wrong on the gpu (hardware). Is there a way to clear everything on the gpu and reset it to its initial state?
PLEASE SEE THE ATTACHMENT FOR MORE INFO REGARDING THE ERROR I TAKE FROM MATLAB
I really need your help. I cannot figure the source of this problem!