RESOLVE: Language-Agnostic Validation of GPU Kernels Through Testing, Reduction, and Proof
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 10 of its 54 references that are in the map. First posted on arXiv 5 Oct 2026.
Builds on
10 of 54 references.
References · 10
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 225
- 2021FastMoE: A Fast Mixture-of-Expert Training Systemcited by 112
- 2025TritonBench: Benchmarking Large Language Model Capabilities for Generating Triton Operatorscited by 75
- 2025MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programscited by 15
- 2025FlashMoE: Fast Distributed MoE in a Single Kernelcited by 14
- 2025ProofWright: Towards Agentic Formal Verification of CUDAcited by 9
- 2025An SMT Formalization of Mixed-Precision Matrix Multiplication: Modeling Three Generations of Tensor Corescited by 5
- 2025Optimal Software Pipelining and Warp Specialization for Tensor Core GPUscited by 5
- 2026CAKE: Compiler-Agent Co-Design for Frontier Kernel Evolutioncited by 5
- 2021Specifying and Testing GPU Workgroup Progress Modelscited by 1
Built on by
Not cited yet.