What problem does it solve?
Slow or inefficient CUDA/GPU simulation code hampers research productivity and leads to excessive compute costs. This skill provides a systematic workflow to profile, diagnose, and optimize such code using NVIDIA Nsight Systems.
Core Features & Use Cases
- Automated Profiling: Runs
nsys to capture detailed kernel and API statistics for any simulation script.
- Bottleneck Diagnosis: Parses profiling data to highlight synchronization points, low‑parallelism kernels, and memory‑bound workloads.
- Statistical A/B Comparison: Executes repeated profiles, aggregates results, and applies Welch’s t‑test to evaluate optimization impact.
- Verification & Iteration: Guides users through NVTX annotation, correctness testing, and iterative re‑profiling until performance goals are met.
- Use Case Example: When a new CUDA kernel slows down a material‑simulation scene, invoke this skill to locate the hot path, apply parallelization patterns, and validate speed‑up.
Quick Start
Ask the nsys-optimizer skill to profile and improve your CUDA simulation by providing the path to the scene script.