After a kernel fails due to "unspecified launch failure", the only way I am able to use the device again is after a system reboot. Is there another way to do this? If I attempt to to run again after the ULF, the program hangs on the first CUDA call.
The Nvidia card is attached to a Windows 7 Professional 64-bit Virtual Machine running on a Parallels Extreme Workstation. I connect to the system via Windows' Remote Desktop Connection.
cudaDeviceReset()(it's only present in CUDA 4.0) after ULF helps? However, such behavior indeed is wrong. @jmsu There is a way to use nVidia GPUs via RDP. It requires having Tesla and doing some changes in registry (or you can use older version of driver, which does this trick with any nVidia GPU). – aland Sep 6 '11 at 17:28