I’m attaching a copy of my kernel code. In debugging my program, I’ve encountered a problem where if I try to display an uninitialized variable gdb crashes. Initializing the same variable removes the problem.
The message I’m received from cuda-gdb is the following:
(cuda-gdb) print i
warning: Unmapped DWARF Register #1915826741 encountered.
/home/buildmeister/build/rel/gpgpu/toolkit/r3.0/debugger/cuda-gdb/gdb/regcache.c:930: internal-error: register_offset_hack: Assertion `regnum >= 0 && regnum < descr->nr_cooked_registers’ failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)
AIRKerneltest.cu (4.66 KB)