intellikit-linex-profiling
Installation
SKILL.md
Linex: Source-Level GPU Performance Profiling
Map GPU performance metrics to your source code lines. Get cycle-level timing, stall analysis, and instruction-level metrics for each line of source code.
When to Use
- User asks to profile a GPU application at source-line granularity
- Need to identify which specific lines of code are performance bottlenecks
- Analyzing stall patterns and execution bottlenecks at the source level
- Understanding cycle-level timing for each line of code
- Instruction-level analysis mapped to source lines
Prerequisites
- AMD GPU with ROCm 7.2 or later and
rocprofv3, Ubuntu 22.04 or 24.04, and Python 3.10 or later. - Install:
pip install "git+https://github.com/AMDResearch/intellikit.git#subdirectory=linex" - On ROCm older than 7.13, the first
Linex()downloads the trace decoder to~/.cache/linex/, which needs network access.