MoonMath AI releases open-source HIP kernel for AMD MI300X that outpaces official AITER v3
MoonMath AI has open-sourced a HIP attention kernel for the AMD MI300X, and it outperforms AMD's official AITER v3 toolkit across all tensor configurations and rounding modes. The kernel relies on single-line asm wrappers and an eight-wave pipeline. It is a rare case of a third-party team publicly beating a vendor on its own hardware.
AI-processed from MarkTechPost; edited by Hamidun News
MoonMath AI has open-sourced a HIP kernel for computing attention on AMD MI300X GPUs, and on every test configuration it proved faster than AMD's official AITER v3 library.
Why it matters
The AMD MI300X is AMD's flagship AI accelerator and a direct competitor to the NVIDIA H100. Despite comparable memory and bandwidth specs, the MI300X has historically trailed NVIDIA in software ecosystem: it lacked mature kernels optimized for real-world inference workloads.
AITER (AI Inference and Training Engine Routines) is AMD's official library for such optimizations. It is the baseline the new MoonMath kernel measures itself against.
How the kernel works
The authors used two key design decisions:
- Single-line asm wrappers: minimal wrappers around AMD assembler instructions that remove extra layers of abstraction and give the compiler fewer chances to generate suboptimal code.
- Eight-wave pipeline: a scheme in which eight wavefronts (the AMD equivalent of NVIDIA warps) run in parallel and hide memory latency behind computation.
Together, these techniques make it possible to use the MI300X's matrix units to the fullest without idle time.
The result is superiority over AITER v3 across all tensor shapes and all rounding modes, which matters especially for quantized inference.
What "open-source" means here
MoonMath AI has published the code under an open license. That means any developer or company can:
- integrate the kernel into their own inference stack on AMD
- study the optimization techniques and apply them to other kernels
- fork it and adapt it to specific models or batch sizes
Publications like this speed up the AMD ecosystem faster than the vendor's internal roadmap releases: the community sees real code, not marketing benchmarks.
What this means
A third-party team has publicly outpaced AMD on AMD's own hardware. That sends a signal to the market: the MI300X can compete with the NVIDIA H100 given the right low-level optimizations. For infrastructure teams currently choosing between AMD and NVIDIA, there is one more weighty argument in favor of the red camp.
- Jul 26, 2026Linus Torvalds on AI in Linux: a useful tool, and dissenters can fork
- Jul 2, 2026Claude Code finds AMDGPU bug that has frozen Linux laptop displays since 2017
- Apr 28, 2026T-Technologies Group on open source in AI/ML: how LLM work is organized inside the company
- Nov 9, 2026AlpineBSD: An OS on the NetBSD Kernel Where Any AI-Written Code Is Considered "Compromised"
Key Questions Answered
Why it matters?
The AMD MI300X is AMD's flagship AI accelerator and a direct competitor to the NVIDIA H100. Despite comparable memory and bandwidth specs, the MI300X has historically trailed NVIDIA in software ecosystem: it lacked mature kernels optimized for real-world inference workloads. AITER (AI Inference and Training Engine Routines) is AMD's official library for such optimizations. It is the baseline the new MoonMath kernel measures itself against.
How the kernel works?
The authors used two key design decisions: Single-line asm wrappers: minimal wrappers around AMD assembler instructions that remove extra layers of abstraction and give the compiler fewer chances to generate suboptimal code. Eight-wave pipeline: a scheme in which eight wavefronts (the AMD equivalent of NVIDIA warps) run in parallel and hide memory latency behind computation. Together, these techniques make it possible to use the MI300X's matrix units to the fullest without idle time.
What "open-source" means here?
MoonMath AI has published the code under an open license. That means any developer or company can: integrate the kernel into their own inference stack on AMD study the optimization techniques and apply them to other kernels fork it and adapt it to specific models or batch sizes Publications like this speed up the AMD ecosystem faster than the vendor's internal roadmap releases: the community sees real code, not marketing benchmarks.
Ship AI Faster with Founders, Engineers & Weekly Architecture Reviews
Inside Vibe Club (hamidun.com/club) — weekly live masterminds with Zhemal Khamidun, Tech Radar, full LMS access, and 370+ production Claude Code skills.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
