I tried to use cuda-gdb to debug some cuda code and got the following messages:
////////////////////////////////////////////////////////////////////////////////////////////////////////
(cuda-gdb) n
[Thread 140413364259152 (LWP 20791) exited]
0x00007fb489f09500 in cudbgIpcCall () from /usr/lib/libcuda.so
(cuda-gdb) n
Single stepping until exit from function cudbgIpcCall,
which has no line number information.
0x00007fb489f0a12e in ?? () from /usr/lib/libcuda.so
(cuda-gdb) n
Cannot find bounds of current function
////////////////////////////////////////////////////////////////////////////////////////////////////////////
What does those messages mean? Thank you very much.
I tried CUDA-GDB walkthrough and almost got the same result, which means that my cuda-gdb works well. I believe something wrong with the make of the cuda codes. I am now using Qt4.6 in unbuntu 9.04 and the following is my .pro file
[codebox]# Path to opencv install
OPENCV_DIR = /usr/local/opencv
Path to cuda SDK install
CUDA_SDK = /home/wu/NVIDIA_GPU_Computing_SDK/C
Path to cuda toolkit install
CUDA_DIR = /usr/local/cuda
#CUDA_DIR = $$system(which nvcc | sed ‘s,/bin/nvcc$,’)