Quoting a comment from here:
If you want to debug on a single machine then you will need two GPUs
(since the GPU running the code will be stopped when it hits a
breakpoint, and hence your display would block as well).
Although it makes a little sense, don’t GPUs have parallelism? I think they do, and if so, I don’t see a reason for the display process to be stopped while debugging.
What am I missing?
Nsight Visual Studio Edition 2.2 supports single GPU single system debugging.
cuda-gdb and Nsight Eclipse Edition require you to disable the display if you want to do single GPU debugging.