What problem does it solve?
Writing and tuning CUDA kernels requires deep knowledge of PTX instructions, memory hierarchies, Tensor Core behavior, and architecture-specific limits across Ampere, Hopper, and Blackwell GPUs, and this Skill bundles the references and workflows needed to do that work without ad hoc web searches.
Core Features & Use Cases
- Kernel Implementation and Review: Write or review CUDA C++ kernels and host code using bundled PTX ISA, CUDA Runtime, Driver API, and programming guide references.
- Architecture-Specific Optimization: Apply dedicated optimization guides for sm89 (Ada), sm90 (Hopper), sm100/sm103 (Blackwell datacenter), and sm120 (Blackwell desktop), covering TMA, WGMMA/tcgen05, TMEM, clusters, shared memory, and occupancy.
- Profiling and Debugging Workflows: Diagnose failures with compute-sanitizer and cuda-gdb, and profile with Nsight Systems and Nsight Compute using architecture-aware metric interpretation.
- Use Case: When porting an attention kernel from H100 to B200, consult the sm100 guide to enlarge tiles for 228 KB shared memory, replace wgmma with tcgen05, and validate accuracy and speed against a PyTorch baseline.
Quick Start
Ask the assistant to implement or optimize a CUDA kernel for a specific GPU architecture, providing the shape, dtype, and current bottleneck.