we are prgramming Fortran in our group and
want to write CUDA code.
But writing CUDA code and not being
able to use a Debugger to step through it
(pgdbg or totalview or … ) is not an option - for the
scientists around me.
Totalview would be usable, but the Portland Fortran compiler we have
does not include debugging information for the CUDA code.
“The Cuda kernel module was not compiled with -G” is the error
message.
pgdbg does not allow me to step through the CUDA code.
Emulation mode is good enough for getting a better understanding
of how CUDA actually excutes the program and
debugging on the device anyway disturbs the real-time execution.