TotalView User Guide : Part V: Debugging : Using the CUDA Debugger : TotalView CUDA Debugging Tutorial : Starting TotalView

Starting TotalView
A standard Linux-x86_64 TotalView installation supports debugging CUDA applications running on both the host and GPU processors. TotalView dynamically detects a CUDA install on your system. To start the TotalView GUI or CLI, provide the name of your CUDA host executable to the totalview or totalviewcli command. For example, to start the TotalView GUI on the sample program, use the following command:
% totalview tx_cuda_matmul
CUDA library loaded: Current API is 3.0 rev 17
...
If TotalView successfully loads the CUDA debugging library, it prints the current API version and revision as shown above.
After reading the symbol table information for the CUDA host executable, TotalView opens the initial process window focused on main in the host code, as shown in Figure 247.
 
You can debug the CUDA host code using the normal TotalView commands and procedures.

Rogue Wave Software, Inc.
Voice: (303) 473-9118
rwonlinedocs@roguewave.com