I got a problem on debugging the code with cuda-gdb.
When the code is just in one file, cuda-gdb works as I want to break :
(cuda-gdb) break mykernel
But when the code is cover many files, that I mean the “mykernel” function is not in the same file as “main” function,
using the same break instruction above, then it turn out:
Function “mykernel” not defined.
Make breakpoint pending on future shared library load? (y or [n])
though I input “y”, when debuging it doesn’t break as I want!
On the other hand, I try to step from outside calling functions, but when I got into “mykernel”, it was not the profile as before,
I could not print any var information.
Can somebody help me??