cuda-gdb exits with “[1] stopped” when it hits a kernel call
问题 I'm pretty new to CUDA and flying a bit by the seat of my pants here... I'm trying to debug my CUDA program on a remote machine I don't have admin rights on. I compile my program with nvcc -g -G and then try to debug it with cuda-gdb. However, as soon as gdb hits a call to a kernel (doesn't even have to enter it, and it doesn't happen in host code), I get: (cuda-gdb) run Starting program: /path/to/my/binary/cuda_clustered_tree [Thread debugging using libthread_db enabled] [1]+ Stopped cuda