Testing GPU Numerics: Finding Numerical Differences Between NVIDIA and AMD GPUs
Not on the map. Why?
Abstract (arXiv)
As scientific codes are ported between GPU platforms, continuous testing is required to ensure numerical robustness and identify numerical differences. Compiler-induced numerical differences occur when a program is compiled and run on different GPUs, and the numerical outcomes are different for the same input. We present a study of compiler-induced numerical differences between NVIDIA and AMD GPUs. Our approach uses Varity to generate thousands of short numerical tests in CUDA and HIP, and their inputs; then, we use differential testing to check if the program produced a numerical inconsistency when run on these GPUs. We also use the HIPIFY tool to convert CUDA tests into HIP and check if there are numerical inconsistencies induced by HIPIFY. We generated more than 600,000 tests and found subtle numerical differences that come from (1) math library calls, (2) differences in floating-point precision (FP64 versus FP32), and (3) converting code with HIPIFY.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 11 Oct 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2026Kernel Contracts: A Specification Language for ML Kernel Correctness Across Heterogeneous Siliconcited by 3
- 2025CASS: Nvidia to AMD Transpilation with Data, Models, and Benchmarkcited by 1
- 2025Bit-Accurate Modeling of GPU Matrix Multiply-Accumulate Units: Demystifying Numerical Discrepancy and Accuracycited by 1
- 2026Accelerating the Mitigation of LLM Inference Nondeterminism Across GPU Architecturescited by 0
- 2026Accelerating the Mitigation of LLM Inference Nondeterminism Across GPU Architectures22 Sep 2026
- 2026Kernel Contracts: A Specification Language for ML Kernel Correctness Across Heterogeneous Silicon23 Apr 2026
- 2025Bit-Accurate Modeling of GPU Matrix Multiply-Accumulate Units: Demystifying Numerical Discrepancy and Accuracy14 Nov 2025
- 2025CASS: Nvidia to AMD Transpilation with Data, Models, and Benchmark22 May 2025