Decoded
← Feed
arXiv:2608.12700LGARDC13 aug 2026

A Contract-Grade Verifier for LLM-Generated GPU Kernels, and a Native Blackwell Backward for the Gated-Linear-Recurrence Family

1 min readHN ×2PDF ↗
RES-01 DEVICE1.8%ORD-02 NONDETERMINISM4.9%PRC-01 PRECISIONS11.3%ORD-01 REDUCTION ORDER13.7%020% GATE FAILURE RATE
fig. gate failure rateSwallowed NaNs are the most common hidden defect

Most LLM-written GPU kernels marked correct still break on NaNs, shapes or repeat runs.

39.5%

Accepted kernels broken beyond tolerance

These kernels already passed their source system's own correctness harness.

How it works

  1. Loose correctness test

    Kernel benchmarks accept output close to a reference on a few random inputs at one shape.

  2. Twelve adversarial gates

    A verifier probes NaNs, new shapes, repeat runs, precisions and accumulators. Several gates use exact matching, no tolerance.

  3. Gap is large

    Of 2,638 accepted kernels, 62.1% violate a contract. KernelBench passes 1,487 the verifier rejects, versus 14 reversed.

runsame inputscomparepass/failAcceptedkernelsAdversarialinput probesfp32referenceTwelvecontract gatesPer-kernelverdictrunsame inputscomparepass/failAcceptedkernelsAdversarialinput probesfp32referenceTwelvecontract gatesPer-kernelverdict

What they found

Which comes out on top on Gate failure rate?

Where to set the tolerance

try it

Drag the accept threshold and watch correct and broken kernels cross it.

scorecorrect kernelsbroken kernelsthreshold
correct kernels flagged
7%
broken kernels missed
7%
Any tolerance trades false accepts for false rejects; tolerance-free gates avoid that choice entirely.Illustrative model, not the paper's data

Terms

6 terms

Gate One property a correct kernel must satisfy, checked against a slow reference.

Like a car inspection that only checks the engine starts; a full inspection also tests brakes, lights and steering under stress.

Where it breaks
Kernel gates compare against an exact reference answer, cars have no such reference.

Limits

  • Headline rests mainly on one corpus; native CUDA corpus shows weaker 20.2%.
  • Two of twelve gates are idle on the forward-only audited corpus.
  • Native GDN backward is 8× to 78× slower than fla Triton.
From the paper