Does the cuda-gdb really work on the jetson nano ?
When I try to run, I get the following error:
(cuda-gdb) b 67
Breakpoint 1 at 0x91b0: file matrixMulTiled8.cu, line 67.
(cuda-gdb) r
Starting program: /home/rreddy78/projects/test/matrixMulTiled8
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/aarch64-linux-gnu/libthread_db.so.1”.
fatal: The CUDA driver initialization failed. (error code = CUDBG_ERROR_INITIALIZATION_FAILURE(0x14)
(cuda-gdb)
It was quite some time ago with an older version of JetPack and if I remember correctly I somehow solved it. I will try to check with the latest JetPack I installed just now and update if the problem still exists…
Thank you for the response. The issue was solved, as I was using gdb on desktop so the terminal is getting hang but was able to debug kernel through usb serial console(Putty).