Cuda gdb on jetson nano

Hello,

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)

I have followed the manual and

Single-GPU Debugging with the Desktop Manager Running

and have set

  • CUDA_DEBUGGER_SOFTWARE_PREEMPTION=1