CUDA Debugger System requirement for using CUDA GDB

Hi,

I read somewhere that to use cuda gdb I must either have two GPUs or use run my CUDA programs remotely using VNC. I want to know why this condition is imposed and is there any other option?

Thanks for your time

The debugger takes over the GPU in a way that makes the GPU seem unresponsive to the display driver. The will trigger the driver watchdog timer and the debugging session will be killed. If you use linux, it is possible to close down X11 and debug without problems on a single GPU using the text console. VNC shouldn’t work because it requires a local X11 server running on the host machine, but it is possible to run a remote X11 session on a single GPU system and debug over the wire using NX.