What problem does it solve?
This skill addresses the common failure mode of accepting sub-optimal performance from standard libraries by providing a rigorous, roofline-targeted optimization framework for Triton and CUDA kernels.
Core Features & Use Cases
- Roofline-First Optimization: Systematically identifies bottlenecks (HBM bandwidth vs. compute) to ensure optimization efforts target the actual hardware limit.
- Trial-Loop Methodology: Employs a structured, tree-based trial loop to iteratively improve kernel performance without stopping at local plateaus.
- Use Case: Use this skill to optimize a custom attention kernel or fused loss function by measuring the Speed-of-Light bound and systematically eliminating HBM round-trips through operator fusion.
Quick Start
Invoke the tritonify skill to analyze the current kernel and begin the trial-loop optimization process for the specified hardware target.