I’m using a K40 system, some of the kernels worked perfectly but when I needed to debug, cuda-gdb does not work even for the most basic things.
I’m compiling using -g -G, I could set the breakpoints but they are ignored.
Then I tried to go step by step, and when I reach the cuda kernel, I did an step into (step command in cuda-gdb), but it jumps to the end of the kernel, never step into.
Then I wonder if could be a problem with my kernel, then I tried it with an working kernel, and again never steps into the kernel.
What I’m doing wrong?
Really frustrated because a very basic thing of debugging is not working…