Kernel Trace Analysis

Profile GPU kernels using rocprofv3 to collect ATT instruction-level traces, then analyze the trace data using hotspot_analyzer.py to identify top-K stall hotspots (VMEM-load, VMEM-wait, LDS/SMEM-wait, barrier, MFMA stalls) mapped back to source lines, and produce an actionable optimization plan. Usage: /kernel-trace-analysis <cmd> Can also analyze an existing dispatch dir directly: /kernel-trace-analysis --dir <path>

AMD-AGI 0779b69 3 files · 41.7 KB Updated

File contents

AMD-AGI/Hyperloom/tree/main/src/kernelforge/data/local_knowledge/languages/flydsl/skills/profile/kernel-trace-analysis commit 0779b69b83

Frequently asked questions

npx skillmds@latest add amd-agi/kernel-trace-analysis