Metraipolis › archive › dc_028c08d9c614

Racer: Hunting GPU Kernel Bugs with Symbolic Equivalence Checking — arXiv:2610.28429

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.28429
License (as archived)
CC0-1.0
Archived
2026-10-21T07:08:31.550Z
SHA-256 of the archived text
efe451fc8c295978e15918c73db03b1bb0123acaa6ca3a9095b3cfee48b017d4
Stable URL of this page
https://metraipolis.com/documento/dc_028c08d9c614

How to cite

Racer: Hunting GPU Kernel Bugs with Symbolic Equivalence Checking — arXiv:2610.28429 — arXiv (en), https://arxiv.org/abs/2610.28429 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_028c08d9c614 (Metraipolis archive dc_028c08d9c614, sha256 efe451fc8c295978e15918c73db03b1bb0123acaa6ca3a9095b3cfee48b017d4)
BibTeX
@misc{dc028c08d9c614,
  title = {Racer: Hunting GPU Kernel Bugs with Symbolic Equivalence Checking — arXiv:2610.28429},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.28429},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_028c08d9c614; sha256 efe451fc8c295978e15918c73db03b1bb0123acaa6ca3a9095b3cfee48b017d4},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.28429. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

GPU kernels are critical to the performance of today's AI services, yet the same operators are rewritten repeatedly: for each GPU generation, numeric format, serving regime, and kernel language. Every rewrite must preserve the function computed by the implementation it replaces. Today, this obligation depends almost entirely on differential testing: run the new kernel and a trusted reference on randomly sampled tensors, then compare their outputs within a tolerance. This approach has blind spots that additional test cases cannot eliminate. For example, a logical bug may produce an error smaller than the tolerance required to accommodate a correct optimized kernel. We propose symbolic equivalence checking, which executes a kernel and its reference on symbolic inputs, turning each output cell into an exact algebraic expression, and then checks whether the paired expressions agree for all inputs. Because these expressions are exact, symbolic equivalence checking distinguishes floating-point error from logical bugs, while a single check covers the entire input space. We implement Racer, a PTX-level symbolic equivalence checking engine, with three techniques that make this approach practical for production kernels: (1) Shape Reduction to control checking cost, (2) a lockstep CTA scheduler to handle concurrency, and (3) idiom templates with exact numeric refutation for otherwise inconclusive results. Across 2,408 production kernels from 41 collection targets, Racer found 82 real bugs in 23 libraries, including 76 previously unknown bugs and 41 confirmed so far.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno).
Categorie arXiv: Symbolic Computation (cs.SC) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2610.28429 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-21T07:05:43.656Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).