🟢 🏥 In Practice Published: · 1 min read ·

arXiv:2607.14541: Atrex-Bench Reveals LLM-Generated GPU Kernels Reach Only 10% of Target Hardware Speed

arXiv:2607.14541 ↗

Editorial illustration: a GPU chip with kernel code turning into a speed diagram

Atrex-Bench is a new benchmark with 30 operators and 440 shapes from production inference traces that tests the quality of LLM-generated GPU kernels. Even the best of 6 evaluated coding agents reaches only about 10% of the hardware roofline, so the team also releases the Atrex-Kernel-Agent alongside the benchmark.

🤖

This article was generated using artificial intelligence from primary sources.

What is Atrex-Bench, and what does it measure?

Atrex-Bench is a benchmark introduced by Lingyun Yang and colleagues to test the quality of GPU kernels — low-level code that performs a specific operation, such as matrix multiplication, directly on the graphics processor. The benchmark uses 30 operators and 440 shapes collected from real production inference traces, unlike synthetic tests that don’t reflect actual workloads.

How fast is LLM-generated code compared to the hand-tuned optimum?

Six frontier coding agents were evaluated, and the results reveal a problem: even the best “vanilla” model reaches only about 10% of the hardware roofline — the theoretical maximum of hardware performance — on production operators. Comparison with hand-optimized production baselines reveals a huge gap: the high pass-rate figures from earlier evaluations are partly misleading, as they often reflect PyTorch fallback code rather than an actually generated LLM kernel.

The solution: Atrex-Kernel-Agent and a knowledge base

Alongside the benchmark, the team presents Atrex-Kernel-Agent (AKA), an agent with an “optimization dropout” technique and a knowledge base of 298 reference kernel files and 244 optimization documents. AKA turns non-functional fallbacks into kernels comparable to hand-optimized baselines. The benchmark and agent are released as open source.

Frequently Asked Questions

What is a GPU kernel, and why is it hard to generate automatically?
A GPU kernel is low-level code that performs a specific operation directly on the graphics processor; it's hard to generate because it must track the hardware architecture, not just logical correctness.
How much speed does LLM-generated code achieve compared to the hand-tuned optimum?
Even the best vanilla model reaches only about 10% of the hardware roofline on production operators, while Atrex-Kernel-Agent turns those fallback kernels into code comparable to hand-optimized baselines.

📬 AI news in your inbox

A daily digest built your way — pick topics, sources and cadence. One-click unsubscribe.