nsight eclipse debugging problem


After setting up my project under nsight eclipse I was attempting to debug the host side code.

All is well until the first line of cuda device calls get executed, nsight then informs me that it cannot perform debugging on the same GPU that is driving the screen. This is very reasonable except I’m not attempting to debug any device code, in fact I’m not even compiling with -G flags and generating any device side debug symbols!

I’m compiling with -g -O0 -w. Under Ubuntu 1404 with cuda toolkit 6.5.

There must be a simple workaround so that i will at least be able to debug the host side code? Is there some odd nsight setting that I’m missing here?

In windows I can perform single GPU debugging via visual studio and nsight but that’s a different topic.

Big thanks for yout input!