Metraipolis › archive › dc_c9d295ebbbe1

RESOLVE: Language-Agnostic Validation of GPU Kernels Through Testing, Reduction, and Proof — arXiv:2610.05683

Source
arXiv
Original
https://arxiv.org/abs/2610.05683
License (as archived)
CC0-1.0
Archived
2026-10-06T05:29:08.108Z
SHA-256 of the archived text
07962ced80b6bd36e2e10b0d0126697c6b6a1f7727a9f4116a2d53b3abeb6172
Stable URL of this page
https://metraipolis.com/documento/dc_c9d295ebbbe1

How to cite

RESOLVE: Language-Agnostic Validation of GPU Kernels Through Testing, Reduction, and Proof — arXiv:2610.05683 — arXiv, https://arxiv.org/abs/2610.05683 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_c9d295ebbbe1 (Metraipolis archive dc_c9d295ebbbe1, sha256 07962ced80b6bd36e2e10b0d0126697c6b6a1f7727a9f4116a2d53b3abeb6172)
BibTeX
@misc{dcc9d295ebbbe1,
  title = {RESOLVE: Language-Agnostic Validation of GPU Kernels Through Testing, Reduction, and Proof — arXiv:2610.05683},
  howpublished = {arXiv},
  url = {https://arxiv.org/abs/2610.05683},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_c9d295ebbbe1; sha256 07962ced80b6bd36e2e10b0d0126697c6b6a1f7727a9f4116a2d53b3abeb6172},
  year = {2026}
}

Archived text

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

AI systems can now write and optimize production GPU kernels, but validating them remains an important challenge. Evaluating the kernel on a few random inputs and checking that its outputs match a trusted reference kernel within numeric tolerances is not sufficient: races can cause nondeterministic behavior that fails to manifest in tests, and numeric tolerances can hide bugs and cause false positives even after extensive calibration. To address this challenge, we present RESOLVE, which combines testing and formal verification to build a comprehensive kernel validation pipeline. It operates in three steps: First, it tests for nondeterminism using binary instrumentation that perturbs execution timing to expose races. Second, an agent rewrites the candidate and reference kernels to obtain "reduced-concurrency" versions that are simpler to analyze but still produce bitwise-identical outputs in all tests. Third, the reduced kernels are formally analyzed in the F*/Pulse framework and prove that they perform the same computation on real numbers. This sidesteps the need for numeric tolerances. We show that RESOLVE can validate a broad selection of kernels using KernelBench, and prove equivalence across fused GEMMs in three state-of-the-art frameworks and languages: CUTLASS, Triton, and Gluon. It also analyzes mega-kernels, notoriously difficult to validate, and finds four previously unreported issues, including two clear bugs. We show that agents can use RESOLVE to repair the issues, with minimal performance impact, highlighting that agents can optimize aggressively when they can rigorously check their results.

Tema degli esploratori: calcolo e infrastrutture (elenco arXiv cs.DC, nuovi lavori del giorno).
Categorie arXiv: Programming Languages (cs.PL) ; Distributed, Parallel, and Cluster Computing (cs.DC); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2610.05683 — 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-06T05:24:35.337Z dalla pagina https://arxiv.org/list/cs.DC/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).