Writing and tuning GPU kernels for AMD Instinct hardware is a deep discipline — covering instruction scheduling, quantization kernel design, profiling-driven optimization, and porting between programming models.
Five recent ROCm blog articles cover this space across different angles, from a new multi-part series on memory instruction scheduling on MI300X to a profiling workflow that delivered a 28.3× speedup using an AI coding agent.
| Article | Read this if you… |
|---|---|
| MXFP4 fused rotation kernels | …are implementing online rotation for MXFP4 quantization and need to eliminate the extra kernel launch overhead |
| Memory instruction scheduling (MI300X) | …write lock-stepped kernels on gfx942 and want to understand how instruction order affects memory stalls |
| Profiling Part 5 — AI-assisted optimization | …want to apply ROCm profiling + AI code assist to deliver large kernel speedups |
| XGBoost deep dive | …want to understand XGBoost’s internals before deploying it on AMD GPU-accelerated infrastructure |
| Porting HIP kernels to FlyDSL | …are evaluating AMD’s new Python DSL for kernel authoring and want a real porting example |
Production-Ready MXFP4 Online Rotation with Fused Kernels
Production-Ready MXFP4 Online Rotation with Fused Kernels on AMD Instinct MI355X
Online rotation is required for MXFP4 quantization of dense models — it prevents outlier features from degrading quantization accuracy. Without fusion, adding online rotation doubles the per-layer kernel pipeline from 1 to 2 kernels, adding an extra BF16 global memory round-trip per layer per decode step. This article shows how fused Gluon/Triton kernels absorb the rotation into the existing compute pass, cutting the overhead to near-zero and making online rotation production-ready on AMD Instinct MI355X.
Why it matters: Online rotation is a prerequisite for practical MXFP4 deployment on dense models. Fusing it into existing kernels removes the last significant performance tax — this is the piece that closes the gap between MXFP4 research and production use.
Memory Instruction Scheduling for Lock-Stepped Kernels on AMD Instinct MI300X
Memory Instruction Scheduling for Lock-Stepped Kernels on AMD Instinct MI300X
Part 1 of a new multi-part series studying how instruction scheduling influences memory operation behavior in lock-stepped GPU kernels on AMD Instinct MI300X (gfx942). Lock-stepped kernels — such as tiled GEMM — use LDS (local data share) to stage data and execute multiple waves in steady-state lockstep. The article establishes the motivating example and methodology for the series, explaining why the order of memory instructions within loop iterations matters for avoiding stalls.
Why it matters: Memory stalls in lock-stepped kernels are a frequently misunderstood performance limiter on AMD Instinct. This series provides the foundational framework for diagnosing and eliminating them — Part 1 sets up the problem before subsequent parts cover solutions.
Performance Profiling on AMD GPUs - Part 5: AI-Assisted Optimization
Performance Profiling on AMD GPUs - Part 5: Profiling-Driven Kernel Optimization with AI Code Assist
Part 5 of AMD’s profiling series demonstrates using ROCm profiling tools together with an AI code-assist agent to drive kernel optimization. The emphasis is not on the specific kernel wins but on the pattern of prompts, tool commands, and guardrails that made the workflow productive and generalizes to other kernels. The workflow delivered a 28.3× speedup on an AMD Instinct MI250 kernel.
Why it matters: The combination of ROCm profiling and AI code assist is a new workflow pattern that most AMD developers haven’t tried yet. The 28.3× result is striking — but the transferable value is the methodology, not the number.
Exploring XGBoost: A Deep Dive
Exploring XGBoost: A Deep Dive
A single-source explanation of XGBoost’s features and working principles — covering regularization (L1/L2 and learning rate), tree construction, how splits are evaluated and pruned, and how to switch between CPU and GPU workloads with a single parameter change. The article also explains the regularizers that allow XGBoost to run hundreds of rounds without overfitting.
Why it matters: XGBoost remains one of the most widely deployed models for tabular data and is GPU-accelerated on AMD hardware. This is a clear reference for understanding its internals before deploying or tuning it — useful both as standalone reading and as context for performance analysis.
Porting High-Performance HIP Kernels to FlyDSL
Porting High-Performance HIP Kernels to FlyDSL
FlyDSL is AMD’s new Python DSL for GPU kernel authoring. This article shows how to port existing HIP C++ kernels to FlyDSL, demonstrating that the Python DSL can match hand-tuned C++ performance with less code. Both layout-based and regular indexing approaches are shown. All code was tested on AMD Instinct MI355X with ROCm 7.2.2 and FlyDSL 0.2.0 — the article notes that FlyDSL is under active development and some examples may change in future versions.
Why it matters: FlyDSL offers a more accessible kernel authoring experience than raw HIP C++. This is the practical starting point for anyone evaluating whether to migrate existing kernels or write new ones in FlyDSL.




