Debugging CUDA: An Overview of CUDA Correctness Tools
, Senior Software Engineer, NVIDIA
, Software Engineering Manager, NVIDIA
Debugging CUDA programs presents unique challenges for the software developer. To address these challenges, NVIDIA offers a wide range of tools to assist in the debugging process.
First, we'll explore the features and capabilities of three CUDA debugging tools (CUDA GDB, Nsight Visual Studio Edition, and Nsight Visual Studio Code Edition) and demonstrate how each can be used to debug CUDA programs. We'll also demonstrate how Nsight Visual Studio Code Edition can be extended to support CUDA development, using Visual Studio Code extensions to provide AI-assisted authoring of CUDA programs. Then we'll explore the capabilities of Compute Sanitizer, a functional correctness tool that can be used to identify multiple types of logic errors in CUDA programs.