rocprof-compute-kernel-bottleneck
Installation
SKILL.md
Profile an AMD GPU application and find the kernel bottleneck
Start here for any "profile this" or "why is this kernel slow" request. This skill collects counters, narrows a workload down to one kernel, and identifies what limits it. Hand off to a focused skill once the limit is clear.
Run rocprof-compute profile --help and rocprof-compute analyze --help
before choosing flags. Options change between releases; do not guess one.
Two sources of performance data
rocprof-compute collects from two independent sources, and they answer different questions. Choose by what the user is asking, not by difficulty.
| Source | Answers | Skill |
|---|---|---|
| Perfmon counters | How the architecture behaves: bandwidth, cache, occupancy, pipeline utilization | this skill, then rocprof-compute-speed-of-light, rocprof-compute-memory, rocprof-compute-roofline |
| PC sampling | How the source code behaves: which instruction or line is hot and why it stalls | rocprof-compute-pc-sampling |