Cuda Debugger
Nvidia nsight application development environment for heterogeneous platforms visual studio edition 55 user guide send feedback build and run cuda project properties launch the cuda debugger attach to a running cuda process control gpu execution control execution set gpu breakpoints global freeze inspect state specify debugger context view memory view.
Cuda debugger. From the nsight menu in visual studio select start cuda debugging. Alternately you can also right click on the project and choose start cuda debugging the cuda debugger starts. With cuda developers are able to dramatically speed up computing applications by harnessing the power of gpus. Notice that a popup message indicates that a connection has been made.
Or right click on the project and choose start cuda debugging pause execution or allow the application to run to a breakpoint or set a breakpoint if none enabled. Cuda is a parallel computing platform and programming model developed by nvidia for general computing on graphical processing units gpus. Launch the cuda debugger. Configure cuda project properties.
It provides full control over the execution of the cuda application including breakpoints and single stepping. You can examine variables readwrite memory and registers and inspect the gpu state when the application is suspended. Configure a vs 2008 project to work with nvidia nsight. Execution continues until the debugger encounters the first breakpoint at which point the debugger pauses execution.
Set build options in vs 2008. Using the cuda debugger. Cuda gdb is an extension to gdb the gnu project debugger. In gpu accelerated applications the sequential part of the workload runs on the cpu which is optimized for single threaded.
Start the cuda debugger. Cuda gdb supports debugging of both 32 and 64 bit cuda cc applications. Attach debugging to a running cuda process. This enables developers to debug applications without the potential variations introduced by simulation and emulation environments.
Cuda debugger debug cuda kernels directly on gpu hardware info page and warp watch view use on target conditional breakpoints to locate errors cuda memory checker out of bounds memory access detection enables precise error detection. The tool provides developers with a mechanism for debugging cuda applications running on actual hardware. From the nsight menu in visual studio choose start cuda debugging. The memory window opens.
Overview debugging techniques return value checks printf assert tools cuda memcheck cuda gdb demo. Debugging a cuda application. The debugger start the matrixmul application. From the debug menu choose windows memory memory window 1.