What problem does it solve? GPU performance is counterintuitive and CUDA bugs are hard to diagnose with standard tools. This Skill provides systematic workflows for debugging CUDA kernels, profiling GPU applications, and optimizing performance using NVIDIA's toolchain, plus local searchable copies of the PTX ISA, CUDA Runtime API, and CUDA Driver API documentation. ## Core Features & Use Cases - Non-Interactive Debugging: Catch memory errors, race conditions, and uninitialized reads with compute-sanitizer, get crash backtraces with cuda-gdb batch mode, and inspect binaries with cuobjdump. - Profile-Driven Optimization: Identify timeline bottlenecks with nsys, analyze kernel metrics (occupancy, coalescing, bank conflicts, roofline) with ncu, and add custom instrumentation with NVTX. - Local API Reference: Grep-searchable local copies of PTX ISA 9.1 (405 files), CUDA Runtime API 13.1 (107 files), and CUDA Driver API 13.1 (128 files) for instruction-level and API-level questions. - Use Case: A kernel runs slower than expected. Profile with nsys to find the dominant kernel, deep-dive with ncu to discover 16-way shared memory bank conflicts, apply padding, and verify the 2x speedup with a follow-up profile. ## Quick Start Ask the assistant to debug a failing CUDA kernel or profile a slow GPU program using nsys and ncu.