If you want to use cuda-gdb, you need to compile the code with debug
flags. I know how to do this for the official SDK (google it), but I
don't know how to do it with parboil.
Once you have a debug build, you can use cuda-gdb. I bet it won't be
as useful as you expect though. I used qsub -V -I to request a node
for debugging during intro-to-cuda course, but I just read a thread
saying that we shouldn't debug on the cluster cause cuda-gdb will
exclusively occupy the gpu. I haven't tried debugging on my own
computer yet. I only have one gpu, and I don't want to kill my X
server.
- Junjie