Agent Skills › uw-syfi/vibesys › kernel-ncu-analysis

kernel-ncu-analysis

GitHub

用于分析NVIDIA Nsight Compute捕获的CUDA内核性能数据,诊断瓶颈如占用率、内存吞吐和Warp停滞,并提供优化假设与后续实验建议。

resources/skills/kernel-ncu-analysis/SKILL.md uw-syfi/vibesys

Trigger Scenarios

需要诊断CUDA内核性能瓶颈 拥有Nsight Compute捕获数据

Install

npx skills add uw-syfi/vibesys --skill kernel-ncu-analysis -g -y
More Options

Non-standard path

npx skills add https://github.com/uw-syfi/vibesys/tree/main/resources/skills/kernel-ncu-analysis -g -y

Use without installing

npx skills use uw-syfi/vibesys@kernel-ncu-analysis

指定 Agent (Claude Code)

npx skills add uw-syfi/vibesys --skill kernel-ncu-analysis -a claude-code -g -y

安装 repo 全部 skill

npx skills add uw-syfi/vibesys --all -g -y

预览 repo 内 skill

npx skills add uw-syfi/vibesys --list

SKILL.md

Frontmatter
{
    "name": "kernel-ncu-analysis",
    "description": "Interpret NVIDIA Nsight Compute evidence for a CUDA kernel task. Use when an NCU capture is available and a measured bottleneck needs diagnosis."
}

Kernel NCU analysis

Match each captured launch to the benchmarked candidate, input shape, dtype, device, and warmup state. Multiple launches with similar names may represent different phases; inspect launch parameters and source correlation before attributing cost. NCU replay and counter collection can perturb timing, so use the task benchmark for before and after performance decisions.

Form one hypothesis from the relevant counters. Low achieved occupancy can follow register or shared-memory pressure, but low occupancy alone does not prove it limits throughput. Memory throughput and cache hit rates need byte counts and access patterns to be meaningful. Warp stalls identify where warps wait; relate them to the instruction mix, dependency chain, and memory traffic before choosing a change.

Report the capture identity, dominant launches, metric values, uncertainty or missing counters, and the next experiment. Confirm any optimization with the accuracy checker and scored benchmark.

Version History

  • 256ebe6 Current 2026-10-18 21:29

Same Skill Collection

.agents/skills/add-agent-provider/SKILL.md
.agents/skills/add-bundled-skill/SKILL.md
.agents/skills/build-client-feature/SKILL.md
.agents/skills/change-container-images/SKILL.md
.agents/skills/create-issue/SKILL.md
.agents/skills/enforce-rules/SKILL.md
.agents/skills/open-pr/SKILL.md
.agents/skills/review-pr/SKILL.md
.agents/skills/software-design/SKILL.md
.agents/skills/testing/SKILL.md
.agents/skills/vs-init/SKILL.md
.agents/skills/write-agent-prompt/SKILL.md
.agents/skills/write-docs/SKILL.md
.agents/skills/write-skills/SKILL.md
.agents/skills/write-vibesys-tests/SKILL.md
resources/skills/dial9-tokio/skills/dial9-diagnose-long-poll/SKILL.md
resources/skills/dial9-tokio/skills/dial9-red-flags/SKILL.md
resources/skills/dial9-tokio/skills/dial9-runtime/SKILL.md
resources/skills/dial9-tokio/skills/dial9-toolkit/SKILL.md
resources/skills/dial9-tokio/skills/dial9-trace-analysis/SKILL.md
resources/skills/dial9-tokio/skills/dial9-trace-loading/SKILL.md
resources/skills/dial9-tokio/skills/dial9-trace-recipes/SKILL.md
resources/skills/dial9-tokio/skills/dial9-zoom-window/SKILL.md
resources/skills/kernel-correctness/SKILL.md
resources/skills/kernel-performance/SKILL.md
resources/skills/kernel-rocprof-analysis/SKILL.md
resources/skills/microservice-optimization/SKILL.md
resources/skills/neuron-agentic-development/skills/neuron-nki-debugging/SKILL.md
resources/skills/neuron-agentic-development/skills/neuron-nki-docs/SKILL.md
resources/skills/neuron-agentic-development/skills/neuron-nki-profiling/SKILL.md
resources/skills/serving-systems/SKILL.md
.agents/skills/change-module-graph/SKILL.md
.agents/skills/triage-prs/SKILL.md
.agents/skills/tui-bug-hunt/SKILL.md
.agents/skills/vs-meta-opt/SKILL.md
resources/skills/neuron-agentic-development/skills/neuron-nki-profile-querying/SKILL.md
resources/skills/neuron-agentic-development/skills/neuron-nki-writing/SKILL.md

Metadata

Files
0
Version
256ebe6
Hash
455b6e08
Indexed
2026-10-18 21:29

홈 - 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-20 01:55
浙ICP备14020137号-1