I’m trying to use cuda-gdb to track down a bug in my device code. I can print the values of variables fine, but when I try to dereference pointers, it doesn’t work:
(cuda-gdb) whatis sed
type = double * const @global
(cuda-gdb) p sed
Cannot access memory at address 0x24b0000
Is this supposed to work? Do I have to give some special option to tell it to look in device memory and not host memory?
This is with CUDA 2.3 on a Fedora 8 x86_64 machine.