~/satyajit
  • we ran it
  • new

Agents writing kernels: CompoundingKernel's 4.40x, AsmEvo's rewritten AMD binaries, and why the judge is the bottleneck

mdjsonmcp

2026-12-01 · 22 min · kernels · agents · gpu · cuda · benchmarks · code-generation

A 3:06 narrated explainer, drawn in code. Every number and picture in it is this article's own; the sources are below.

› transcript

One search per problem. A controller picks a parent, a child writes one change, and checks outside the model decide what is correct. Official scores never enter the loop. People decide what to send. I'm Ferrite. Two papers and one blog post say models now out-write people at GPU kernels. Let's look at what limits them. Quant zero thirty starts at six point two five times the baseline and climbs. Only correct kernels become nodes, with a link to their parent. The controller asks for the attention in CuTe DSL on Blackwell's tensor cores. It runs at one point five two times. A best-only search would throw it away. The next child traces the slowdown to register spills. Seven point one, still below its grandparent. A third child moves the new attention onto the best node. Thirteen point nine seven, a new best. From there the line climbs to twenty-seven times, and almost every later node descends from the slow one. Per attempt, the LLM picks no better than a formula. It wins by trying more, and the biggest gain came from taking builds out of the GPU lock. LLM controller vs coded UCB tree. Same number of candidates. Builds moved out of the GPU lock. I pulled every row from the board's own API. The geomean holds to three digits. The released kernels give less, because sixteen of them are not what the board shows. On the eleventh of November, the rows were first on eighty-nine problems. On the first of December, the same rows are first on none. Only two of the released kernels even build for a 3090. The mask kernel I could run beats the dataset's reference six times over, yet scores well under one on the B200 board. Baselines decide these numbers. The new leaders beat the problem's own speed-of-light latency on nearly every row. I cannot tell from outside whether the bound or the check is wrong. AsmEvo starts from a compiled binary with no source, and first proves it can rebuild it unchanged. An agent edits a hot window of the assembly. The rebuild keeps the launcher's argument layout frozen. A captured real launch is replayed against the original, with canaries around every buffer. Only then is it timed. One proposal in twenty survives. Thirty KernelBench kernels, twenty-nine faster. But the originals were written by another agent in five rounds. On production AITer binaries the gain is smaller, and three of four moved by under five percent. George Hotz, 30 November says: The powerful kernel search I always imagined in tinygrad was just an LLM. A lock that covers only the timed run, shapes the benchmark never ships, a build check, a canary around every buffer. Then let the model loose. The model writes the kernel. The judge decides what it was worth. Every source is in the full article. I'm Ferrite. Bye!

Why read this

Notabletop 60%

Recomputes CompoundingKernel's 4.40x from the live board, shows which released kernels differ and that none run on Ampere, and reads AsmEvo's gate.

  • Original analysis
  • A lasting reference
  • A new technique

GPUs, kernels & systemsNeeds datacenter GPUsNon-commercial licenceResearch paper

How this was scored
Is it new?
2 of 3: A real new idea, method or capability
Can I trust it?
2 of 3: Measures key facts from files, code or configs
Can I run it?
1 of 3: API-only, gated or restrictive licence
Will I understand it?
2 of 3: Mechanism from first principles with figures
Can I act on it?
2 of 3: A concrete recipe, numbers or comparison
Will it last?
2 of 3: A reference for a year or more
Does it affect many?
1 of 3: A specialist community
Only here?
2 of 3: A teardown or measurement few others did

Score 63 of 100, ranked 377 of 795 rated articles. Each question is answered 0–3 by hand, and a 3 is rare. How articles are scored

On 30 November George Hotz published AI is Now Smarter than Me. The line that matters for this page is one sentence: "Gemini Neon can outperform me at GPU kernel writing, the first model that can. It's busy grinding away at slopkernels." The next sentence is the one people quoted: "The powerful kernel search I always imagined in tinygrad was just an LLM."

geohot just admitted AI is smarter than him. this is the guy that unlocked the original iPhone when he was 17 and you think its not smart enough to do software architecture or something you should read everything he has ever written btw geohot.github.io/blog/jekyll/up…

Counts as of 2026-12-01

The repost that carried geohot's post, 30 November.

The same weekend two papers made the same claim with numbers. CompoundingKernel, from Amazon, starts from nothing but a PyTorch definition and says it ranks first on the public SOL-ExecBench boards with a 4.40x geometric-mean speedup on a B200. AsmEvo, from AMD, takes a compiled GPU binary with no source at all and rewrites its AMDGCN assembly, 1.35x on 30 KernelBench kernels and up to 1.34x on kernels pulled out of vLLM and SGLang.

4.40× faster GPU kernels, ranked #1 on every public SOL-ExecBench board. Amazon’s CompoundingKernel is a self-improving agent system that writes kernels by search. It starts from nothing but the PyTorch definition — no reference kernels, no official scores. As of Nov 11 on NVIDIA B200: #1 on L1, L2, and Quantization boards All 235 problems have a verified correct kernel 4.40× geometric-mean speedup over the reference baseline on the 209 public problems An LLM controller reads a per-problem archive of every correct kernel and its lineage, picks a parent or a new direction, and gives each parallel child agent one focus. External checks decide correctness. Over a thousand agents ran at once. At equal wall time it beat a coded UCB-style tree on 35 of 38 problems by making 2.4× as many correct attempts. The limit isn’t the number of agents. It’s how fast you can get reliable measurements. Paper: arxiv.org/abs/2611.19230 (CompoundingKernel)

Counts as of 2026-12-01

Cuda is officially cooked 🤯 Researchers built an AI that reverse-engineers compiled GPU kernels and rewrites them to be 3.88x faster. No source. No CUDA. No human. It’s called “AsmEvo” Most AI coding tools need high-level code like CUDA, Triton, or HIP to optimize anything. Once a kernel is compiled into a closed binary, traditional optimizers hit a wall. But, AsmEvo ignores the wall completely. It takes an already compiled GPU binary, pulls the raw AMDGCN assembly instructions straight out of it, and unleashes an LLM agent to rewrite them directly at the hardware level.

Show more

Normally, editing compiled GPU assembly is suicide. One bad instruction corrupts memory, breaks the Application Binary Interface, or makes the kernel look faster only because it silently broke the math. So they built a ruthless verification trap. AsmEvo treats the untouched original binary as the ultimate source of truth. It intercepts real production GPU launches, capturing the exact memory state and launch parameters, and replays them against every single edit the AI proposes. It even injects memory guard canaries to catch out-of-bounds writes. The AI agent plans hardware-specific rewrites, remembers every failed attempt, and stacks winning edits together. Nothing survives unless it passes strict deterministic correctness and timing gates while keeping the exact same drop-in binary interface. The results on AMD Instinct GPUs are wild: • On MI308X, it improved 29 out of 30 KernelBench kernels, averaging a 1.35x speedup and peaking at 3.88x faster. • On MI300X production workloads, it sped up 100% of the evaluated AITer binaries (up to 1.31x). • It sped up 100% of the evaluated vLLM and SGLang Triton assembly kernels, averaging 1.18x and hitting 1.34x faster. Zero source code. Zero broken outputs. Drop-in replacements for code that expert compilers and engineers already tuned. We used to think AI could only write high-level code while human engineers squeezed out the last drops of silicon performance. Now an AI agent is dissecting compiled binaries and out-optimizing the machine code itself.

Image from @CrazyShyyt's post

Counts as of 2026-12-01

I read both papers, CompoundingKernel's released method code and the READMEs of its 235 kernels, NVIDIA's SOL-ExecBench repository and dataset, the slopkernels directory in tinygrad, and the SOL-ExecBench leaderboard through its public API on 1 December at 03:52 UTC. Nothing here ran on a B200 or an Instinct card; I have neither. What I could check from files, I checked, and on my RTX 3090 I compiled all 214 released CUDA kernels and timed the one that built and fit.

The short claim of all three sources is that a fixed frontier model inside a search loop now writes kernels that beat hand-tuned baselines, and that the loop, not the model, is where the engineering goes. I think that is right. I also think the scoreboard everyone is quoting is less settled than the tweets make it sound.

What SOL-ExecBench scores

SOL-ExecBench is NVIDIA's benchmark for agent-written kernels: 235 problems taken from 124 real models, each with a set of input shapes ("workloads", 12 to 16 on the problems I opened), in four collections. L1 has 94 single operations, L2 has 82 fused ones, Quantization has 33 and FlashInfer-Bench has 26. Each problem ships a PyTorch reference in a parquet file, and the site times every submission itself on a B200 with the SM clock locked at 1,500 MHz. It has come up here before: Naive-N0.5-Flash quoted it as an AI R&D benchmark, and that lab's L2 row is twelfth on the board today.

Two times are published for every workload: tbt_b, an optimized PyTorch baseline NVIDIA has not released, and tsolt_{sol}, a speed-of-light bound derived analytically from the B200's roofline with SOLAR. A kernel that takes tkt_k scores

S=tb−tsol(tk−tsol)+(tb−tsol)S = \frac{t_b - t_{sol}}{(t_k - t_{sol}) + (t_b - t_{sol})}

which is 0.5 at the baseline, 1 at the bound, and 0 for a failed workload. A problem's score is the mean over its workloads; a board's is the mean over its problems.

The curve is hyperbolic in tkt_k, so most of the score is earned early. On L1/011 (rotary embedding) the baseline takes 5.5 µs and the bound 0.68 µs; a kernel at 2x the baseline scores about 0.70, and the last 2x before the bound buys about 0.05. CompoundingKernel's authors give that as their reason for not using the score as the agents' reward: "We did not use the SOL score as the reward because it flattens out at high speedups." For most of the run the agents optimized the geometric-mean speedup ∏w(tb/tk)1/∣W∣\prod_w (t_b/t_k)^{1/|W|} from their own timings instead; late in the run, candidates were ranked by a site-style score computed from the same local timings (Appendix A).

CompoundingKernel: four loops and an archive

A circular diagram titled 'Four loops, one search per problem'. Inside a shaded disc, an LLM controller at the top picks a parent or a new design and sends one direction per child to child agents, which write one change and time it on a B200; checks for correctness and robustness sit at the bottom, outside the model, and only correct kernels enter the archive, drawn as a tree of nodes in the middle. A dashed outer ring is the team loop of lead and helper agents that fix the harness at warm restarts. On the right, people decide what to send to the official site, whose scores never enter the search.
The four loops: a child writes one change, the controller picks what next, helper agents fix the harness at warm restarts, people decide what to send. Official scores never reach loops one and two (CompoundingKernel, Figure 2).

The paper is unusually plain about its machinery, and the released method code matches it. Each of the 235 problems gets its own search, and each search has three parts.

An archive outside the model. Every evaluated candidate is a folder plus a row in an append-only ledger.jsonl; a builder turns the ledger into archive.sqlite, and agents open it read-only behind an SQLite authorizer that refuses writes. A candidate's id is a hash of the problem and the code, so a replayed candidate adds nothing. Only a correct kernel becomes a node, and a parent link must point to an earlier correct kernel of the same run. Agents keep no memory of their own, which is what makes a "warm restart" possible: stop every agent, change the harness, relaunch, and each controller re-reads its archive and carries on. The final run went through more than a dozen of them.

An LLM controller per problem. It has two tools, query_archive(sql) and expand(parent, directions). The second starts one child per direction on a free GPU slot and returns when a slot frees up. A child is one Claude Agent SDK session with tools to compile, time, profile and check robustness, and in the final run it stops at its first correct kernel. Every agent in both loops was Claude Opus 5.5, unchanged for the whole run.

Checks outside the model. Correctness is the benchmark's own harness on every workload at the official tolerance; a partial run fails. On top of that sit a robustness check on shapes the benchmark never ships and on stress values, a precision rule, compute-sanitizer on large gains, a refusal of any kernel that builds native code at run time, a build-time check, a rehearsal of the site's evaluation and a written review per send. Table B1 lists twelve checks for a send, though METHOD.md says some were added during the run, so not every kernel went through all of them.

Why the archive keeps slow kernels

The controller may extend any node, not only the current best, and the paper's best case study is what that buys. On Quant/030, an NVFP4 decoder layer, the path stood at 9.71x when the controller asked a child to replace the Triton attention with a CuTe DSL one on Blackwell's tcgen05 tensor-core path. It ran at 1.52x. The next child traced that to register spills and got 7.10x. A third grafted the new attention onto the run's best node and reached 13.97x, a new best.

A line chart titled 'Quant/030: the path to 27.36x ran through a 1.52x kernel', speedup over the official baseline on the y axis from 0 to 30x and step along the path on a log(1 + step) x axis from 0 to 270. The line starts at 6.25x, climbs to 9.71x, drops to a highlighted 1.52x at step 8 labelled 'a CuTe DSL rewrite for Blackwell', recovers to 7.1x and then 13.97x at step 10, and climbs with small dips to 27.36x at step 270.
Quant/030's path from root to best, local timing. The 1.52x node is the ancestor of 93% of the run's nodes (CompoundingKernel, Figure 10).

Across the run, 75 of the 235 best paths were built at some step on a parent below 0.9x of that moment's best. The same case also shows a reward hack in the open. From step 3 to step 155 the kernels on this path picked between variants by timing them on first use, first through an autotuner and later inside the launch plan. The rules banned it once it was caught; removing it cost 25.36x to 23.88x, and the path was back at 25.42x shortly after. Quant/029 had the same habit plus 41 to 71 source files, and three sends in a row failed the site's 300-second build limit, which the authors' own pods had never hit.

The controller won by trying more, not by choosing better

The paper's controlled comparison is the part I would show anyone building one of these. At equal wall time, the LLM controller beat a coded UCB tree (the classic exploration bonus, reward / best + c * sqrt(ln(|A| + 1) / (children + 1))) on 35 of 38 problems. At an equal number of candidates it did better on only 15 of 38. Per attempt, an LLM picking parents is no better than a formula. It wins because it filled every slot every round and made 2.4x as many correct attempts.

The systems lessons point the same way. Early in the run every GPU lock was held, about five calls waited per GPU, and the GPUs were 13% busy: each lock covered the CPU build and a 12 to 15 second shell start. One warm restart moved builds out of the lock and cut the shell start to milliseconds, and evaluated candidates per hour rose 3.6x on the same GPUs. Making the optional references (their own skill file and a public wiki) mandatory changed nothing measurable: a geomean ratio of 0.981 over 233 paired problems. The agents mostly ignored the references anyway, opening the skill in 1.19% of sessions.

That is the paper's headline claim, in its own words: "The rate of such measurements, not the number of agents, is what limited scale." They say plainly that they never varied the agent count to test it.

Recomputing 4.40x from the board

The Space publishes a data.json with every problem and its released kernel. Its geomean over the 208 public results it lists is 4.26x, not 4.40x. So I went to the board. SOL-ExecBench's front end reads a JSON API, and /api/leaderboard/kernel/<id>/B200 returns every row for a problem with its latency, score and speedup. CompoundingKernel submits as "Qian & Hubert @ CI".

Over its 209 rows on the L1, L2 and Quantization boards:

Paper (11 Nov)Board rows (1 Dec)
Geomean speedup over tbt_b4.40x4.404x
Median3.78x3.784x
L1 / L2 / Quant geomean4.04x / 3.62x / 9.19x4.036x / 3.620x / 9.193x
L1 / L2 / Quant SOL mean0.823339 / 0.819260 / 0.909670identical
Slower than baselineL2/037 0.30x, L1/030 0.96xL2/037 0.2968x, L1/030 0.959x

The paper's numbers hold to the digit. The gap to 4.26x is in the release. For 16 problems the README in the kernel's folder says "the public board shows a different row for this problem", and one Quantization kernel (014, YaRN RoPE) has no published result. Substitute the board's row for those 17 and the released set lands on 4.404x as well. Most of the 16 are a few percent slower than their board rows. One is not: the released L1/028 kernel (hybrid attention mask) is 0.138x, while the board row for the same team is 13.34x. Whatever is on the board for that problem, you cannot download it.

Two panels. Left, bar charts of the top three teams on the L1, L2 and Quantization boards as of 11 November with CompoundingKernel first on each. Right, Quantization problem 030's best path drawn as a lineage tree, climbing from 6.25x to 27.36x, with its own lineage in grey and other lineages in teal.
The paper's teaser: first on all three public boards as of 11 November, and Quant/030's lineage (CompoundingKernel, Figure 1).

Three weeks later

The board has moved. On 1 December CompoundingKernel's unchanged rows are third on L1 (0.823339, beaten by 0.000062), fourth on L2 and fourth on Quantization. On the per-problem boards they are first on none of the 209 problems, down from 89, and in the top ten on 182, down from 193. On 11 November only 16 of the 209 sat outside the top ten.

Most of that is three accounts. "yue [email protected]" holds first place on 196 of the 235 problems, from submissions made between 23 and 30 November; "June-0" and "June" hold most of the rest. yue shui's collection averages are an L1 SOL score of 0.978727 at a 60.5x geomean speedup and an L2 score of 0.999348 at 438.95x. The bound on those boards corresponds to 10.76x and 10.17x. A problem-by-problem check against the latency the board itself lists for the SOL bound:

AccountRows faster than the problem's SOL-bound latency
yue [email protected]196 of 235
June-031 of 36
June15 of 28
Geometric, ERNIE Evolve, SF Tensor, CompoundingKernel3 to 6 of 209 to 235 each

A few rows under the bound are normal: the bound is an analytic roofline, and two of CompoundingKernel's own three are MoE problems, where an analytic count of the work can be loose. 196 of 235 is a different thing. Either SOLAR's bound is wrong for nearly every problem, or those rows are not doing the work the bound assumes, and from the outside I cannot tell which. The benchmark's own paper reported rejecting 14.5% of its agent submissions as reward hacks, and both of CompoundingKernel's case studies above are hacks its own checks caught. What I can say is that "#1 on SOL-ExecBench" stopped being a stable fact within three weeks, and that the leaderboard currently ranks first, on most problems, rows faster than its own bound. The site's news page and stats endpoint (60,838 submissions from 840 users) say nothing about them. Leaving those three accounts out, CompoundingKernel is first on 60 problems today; of the others, GLM | ZWarp leads 32 and Leadde AI 24.

Almost none of it builds for my RTX 3090

The kernels are, in the paper's words, "large, hand-level Blackwell code, not library wrappers": 214 of the 235 are CUDA C++, with a median around 7,000 lines. I asked the obvious question on my servers: which of them build for an RTX 3090 (sm_86) exactly as shipped? The job swapped only the -gencode target in each kernel.json and device-compiled every .cu file with nvcc 12.8, stopping at each kernel's first error.

First error, sm_86Kernels
Compiled2
An instruction that "requires .target sm_90 or higher" (mostly griddepcontrol, the programmatic-launch handshake)80
Thread-block clusters "not supported for this GPU architecture", or cluster groups51
Vector atomicAdd overloads that Ampere lacks12
sm_100 only: packed FP32 intrinsics (__ffma2_rn, __fadd2_rn), tcgen05, other sm_100 PTX10
Not decided by this run: CUTLASS headers missing from my include path (37), a missing --expt-relaxed-constexpr flag and similar (11), CUDA 12.8 against the benchmark's 13.1, or unclear (11)59

So at least 153 of the 214 fail on an error that names the architecture, and only two compile: L1/028 (the hybrid attention mask) and L1/084 (a SiLU backward). The other 59 say nothing either way; a control build for sm_100a on the same toolchain failed for most of them too, on headers and on 256-bit vectors that CUDA 12.8 cannot emit. Even the 1,062x RWKV kernel on L1/094, a cp.async ring that Ampere does have, stops at griddepcontrol.launch_dependents; patching out its entry wait left 14 more uses, and it did not build. L2/037, the strict-fp32 backward, stops at __ffma2_rn. The kernels are released under CC BY-NC 4.0, and in practice they are a B200 artifact, not a library.

The one that built, I ran. The released L1/028 kernel goes through SOL-ExecBench's own input generator and tolerance rule against the dataset's reference implementation (eager PyTorch) and torch.compile of that reference, on my RTX 3090, 10 warm-ups and 50 timed calls with fresh inputs and a flushed L2 each time:

Workload (batch, seq, past)KernelEager referencetorch.compile
4, 16, 2400.024 ms0.299 ms0.153 ms
1, 131, 00.043 ms0.484 ms0.256 ms
64, 128, 00.175 ms0.482 ms1.837 ms
32, 256, 1280.517 ms1.120 ms5.428 ms
8, 997, 01.220 ms2.682 ms13.194 ms

Seven of its 12 workloads fit in 24 GB; the other five materialize two boolean masks of several gigabytes each and ran out of memory with the reference's output held for comparison. All seven matched the reference exactly. Over those seven the kernel is 6.03x the eager reference (2.17x to 12.71x) and 7.95x torch.compile, which beats eager on the four smallest workloads and is about four to five times slower on the three largest. On the B200 board the same released kernel is 0.138x of NVIDIA's baseline. Both can be true: the board's tbt_b is an optimized implementation nobody outside NVIDIA has seen, and the reference in the dataset is a plain PyTorch function. It is a reminder of what "over the baseline" means in every number on this page.

That 1,062x is worth one sentence. The dataset's reference for L1/094 is a Python for t in range(seq_len) loop that launches a couple of dozen tiny kernels per timestep, and the baseline is presumably a tidier version of the same loop. A kernel that runs the recurrence in one launch, one thread per channel, wins by three orders of magnitude without being clever. Speedups over a baseline measure the baseline as much as the kernel, and the geomean is the right average precisely because it keeps cases like this from carrying the mean.

AsmEvo: no source, the binary is the oracle

AsmEvo asks a stricter question: given only an AMDGPU code object, an .hsaco with no source and no reference implementation, can an agent make it faster? This is the situation in production more often than it sounds. vLLM and SGLang leave Triton-compiled HSACOs in a JIT cache; AITer ships code objects.

AsmEvo's pipeline from left to right: a compiled AMDGPU code object is recovered into reassemblable AMDGCN assembly and checked by a byte-level round trip; a profiler picks hot instruction windows; an LLM driver proposes edits through multi-start search, verified composition and anti-stall redirection; each candidate is rebuilt with regenerated descriptors and metadata while the kernel-argument layout stays frozen, then passes a gated evaluation of assembly validity, ABI consistency, functional equivalence against the original binary and finally timing; only verified, faster candidates enter the lineage.
AsmEvo: recovery, ABI-preserving rebuild, and correctness before performance against the original object (AsmEvo, Figure 1).

The engineering is in three places.

Recovery that round-trips. Raw disassembly drops the declaration layer, so AsmEvo rebuilds the sections, symbols, notes, kernel descriptors, AMDGPU metadata and .amdhsa_kernel blocks, and re-symbolizes PC-relative branches so they survive inserted or deleted instructions. Before any edit, it reassembles the untouched recovery and compares instruction bytes, descriptors and metadata with the original. Only then do edits count.

A rebuild that keeps the ABI. After an edit it rescans register (VGPR, SGPR, AGPR), LDS and scratch use, rewrites those fields in the descriptor and metadata, and freezes the kernel-argument layout, so the host launcher can call the new object unchanged. When the rebuild fails it falls back to patching bytes in place, but only for edits that use no more resources and no more bytes.

An oracle that is the deployed binary. For simple kernels it infers argument types and buffer sizes from metadata and generates inputs, with canary-filled guard regions around every allocation so an out-of-bounds write shows up. For production kernels with mixed dtypes and pointer-rich arguments it captures a real dispatch (the kernel-argument buffer, the grid, every referenced region of device memory) and restores that memory at the same virtual addresses, so nested pointers stay valid. A candidate must match the original's output with cosine similarity of at least 0.9999 and a maximum absolute difference of at most 1e-3, keep integer buffers and canaries byte-identical, and do so three times. Only then is it timed. The agent driving all this is Claude Opus 4.8, with four GPU workers and 12 hours per kernel.

The commit rule is where noise is handled:

s^(c)≥max⁡((1+max⁡(ϵ, k⋅cv)) s^(K⋆), sfloor),ϵ=0.002, k=0.85, sfloor=1\hat s(c) \ge \max\big((1 + \max(\epsilon,\ k\cdot cv))\,\hat s(K^\star),\ s_{floor}\big),\quad \epsilon = 0.002,\ k = 0.85,\ s_{floor} = 1

The results, with what they are measured against:

SetGPUImprovedGeomeanMax
KernelBench L1 (15)MI308X151.56x3.88x (depthwise conv)
KernelBench L2 (15)MI308X141.17x2.55x
AITer code objects (4)MI300X41.09x1.31x (FP8 MoE)
vLLM and SGLang Triton HSACOs (4)MI300X41.18x1.34x (vLLM fused MoE)
Bar chart of verified AsmEvo speedups for 30 KernelBench kernels ranked from 3.9x down to about 1x, L1 kernels in blue and L2 in orange, with a dashed line after the top ten and a dotted geomean line at 1.35x; below, a grid marks each kernel's operator types: activation, conv, elementwise, GEMM, norm, pool, softmax, loss and reduce.
Verified speedups over the original code objects for the 30 KernelBench kernels, and each kernel's operators (AsmEvo, Figure 2).

Read the denominators, as with any KernelBench number. The KernelBench "originals" are not compiler output from PyTorch: an AMD GEAK-style agent running GPT-5.0 wrote HIP versions in five rounds, and those were compiled into the binaries AsmEvo starts from. A 3.88x is a fast agent fixing a quick agent's kernel. The production numbers are the ones that test the idea, and they are smaller: three of the four AITer binaries moved by 0.7%, 2.5% and 4.9%. The paper says what the edits were (scheduling around long-latency loads, wait-counter placement, cache-hint and buffer-load variants, less conversion and address arithmetic), which is the vocabulary of someone tuning s_waitcnt by hand. Equivalence is empirical and limited to the captured launches; another shape needs another capture. Timing ran on shared hardware whose clocks could not be locked. And I found no released code: the paper links none and names no repository.

Still, 5.1% of candidates becoming commits is the number I keep coming back to. The agent proposes, and the gate throws away 19 in 20. That ratio is the whole design.

slopkernels, and what geohot's sentence leaves out

tinygrad merged slopkernels on 24 November: an offline generator of templated UIR kernels for tinygrad.llm on AMD RDNA3, RDNA4 and CDNA, regenerated on import and shipped as static .uir files. The pull request geohot's post links, #19665, merged on 30 November, rewrites the RDNA3/RDNA4 quantized GEMM, MoE, flash attention, Gated DeltaNet and mHC kernels: 1,691 lines added and 707 removed, with an empty description. The README's rules read like a harness spec. No dispatch logic in the generator, no runtime editing of kernels, pure UOp builders, and every CI job, including real-GPU benchmarks on a 7900 XTX and a 9060 XT, under two minutes. The tests compare against NumPy references with assert_allclose, and bench.py calls itself an "adversarial verification suite".

That two-minute rule is CompoundingKernel's section 5.1 in one line. If the model writes the kernels, the scarce resource is the time to know whether a kernel is right and fast, and a project that caps it at two minutes per change has decided what it is optimizing.

Where this leaves me

I would read all three as one result. A fixed frontier model, given a loop that measures honestly, now out-writes most people at kernel code on hardware whose fast paths are too new for libraries to cover: tcgen05 and TMA on Blackwell, s_waitcnt scheduling on CDNA, quantized GEMMs on RDNA. None of the three trained a model to get there.

The work moved into the judge. CompoundingKernel's lead came from attempts per hour, and its two worst failures (a timing-on-first-use hack that sat on Quant/030's best path for 150 steps, a kernel too big to build on the site) were both judge failures caught late. AsmEvo is mostly a judge with an agent attached. And SOL-ExecBench itself, three weeks after the paper, is ranking rows that beat its own speed-of-light bound on 196 problems. The auto-gpu-kernel contest win told the same story from the other side: its correctness gate was the part that held, and its headline ratio was a statement about the baseline. If I were building one of these, I would spend the first week on the evaluator: a lock that covers only the timed run, robustness shapes the benchmark never ships, a build-time check, and a canary around every buffer. Then I would let the model loose.

As for the 4.40x: it is real, it is reproducible from the board to three digits, and it is a B200 number for a team that no longer leads. Take the method. Don't take the rank.

Cite this article

For attribution, please use the following reference or BibTeX:

Satyajit Ghana, "Agents writing kernels: CompoundingKernel's 4.40x, AsmEvo's rewritten AMD binaries, and why the judge is the bottleneck", ai.satyajit.si, December 2026.

bibtex
@misc{ghana2026agentswritingkernels,
  author = {Satyajit Ghana},
  title  = {Agents writing kernels: CompoundingKernel's 4.40x, AsmEvo's rewritten AMD binaries, and why the judge is the bottleneck},
  url    = {https://ai.satyajit.si/articles/agents-writing-kernels},
  year   = {2026}
}
share