nsys-optimizer

Identify CUDA performance bottlenecks from Nsight Systems profiling data.

7|1|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/VCERS/MatClaw --skill nsys-optimizer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nsys-optimizer
Source: https://github.com/VCERS/MatClaw/tree/main/skills/nsys-optimizer
Command: npx skills add https://github.com/VCERS/MatClaw --skill nsys-optimizer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scipy, and includes scripts (resource) components.

What problem does it solve?

Profiling and optimizing CUDA-based simulations suffer from slow runtimes and opaque bottlenecks; this skill provides a structured method to baseline, diagnose, optimize, and verify improvements using Nsight Systems.

Core Features & Use Cases

  • Systematic profiling with Nsight Systems to identify kernels and memory bottlenecks.
  • End-to-end optimization loop: profile, diagnose, optimize, re-profile, verify.
  • Use Case: accelerate a GPU-accelerated physics or materials simulation by targeting hotspot kernels and memory patterns.

Quick Start

Run an initial Nsight Systems profiling session on your CUDA application to collect baseline performance data.

Frequently Asked Questions about nsys-optimizer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify CUDA performance bottlenecks using Nsight Systems?

To identify CUDA performance bottlenecks, run an initial Nsight Systems profiling session to collect baseline data. This skill analyzes the profiling results to pinpoint hotspot kernels and memory patterns, guiding a structured workflow to diagnose and target improvements for your GPU-accelerated application.

What is the best way to profile and optimize GPU-accelerated simulations?

The best way to optimize GPU-accelerated simulations is an iterative loop: profile with Nsight Systems, diagnose bottlenecks, apply targeted improvements to hotspot kernels, and re-profile to verify performance gains. This structured method ensures repeatable measurements and verified acceleration.

Do I need Nsight Systems data to optimize CUDA kernels?

Yes, you need Nsight Systems data and CUDA kernels. The optimization workflow requires baseline profiling data to drive repeatable measurements, analyze hotspot kernels, diagnose memory bottlenecks, and verify iterative improvements for your application.

Can I use scipy alongside Nsight Systems for performance benchmarking?

Yes, scipy is supported as a dependency. You can use scipy alongside Nsight Systems data to assist with performance benchmarking and profiling analysis, driving the diagnosis of bottlenecks and verification of improvements in your CUDA applications.

Why does my CUDA application suffer from slow runtimes and opaque bottlenecks?

CUDA applications suffer from slow runtimes and opaque bottlenecks due to inefficient kernel execution and memory patterns. By applying a systematic Nsight Systems profiling workflow, you can baseline performance, diagnose the specific memory bottlenecks, and optimize hotspot kernels.