Revealing Floating-Point Accumulation Orders in Software/Hardware Implementations
Not on the map. Why?
Abstract (arXiv)
Accumulation-based operations, such as summation and matrix multiplication, are fundamental to numerous computational domains. However, their accumulation orders are often undocumented in existing software and hardware implementations, making it difficult for developers to ensure consistent results across systems. To address this issue, we introduce FPRev, a diagnostic tool designed to reveal the accumulation order in the software and hardware implementations through numerical testing. With FPRev, developers can identify and compare accumulation orders, enabling developers to create reproducible software and verify implementation equivalence. FPRev is a testing-based tool that non-intrusively reveals the accumulation order by analyzing the outputs of the tested implementation for distinct specially designed inputs. Employing FPRev, we showcase the accumulation orders of popular libraries (such as NumPy and PyTorch) on CPUs and GPUs (including GPUs with specialized matrix accelerators such as Tensor Cores). We also validate the efficiency of FPRev through extensive experiments. FPRev exhibits a lower time complexity compared to the basic solution. FPRev is open-sourced at https://github.com/peichenxie/FPRev.
Key facts. Cited by 4 papers in the map (data through 13 Oct 2026). First posted on arXiv 1 Nov 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025TrainVerify: Equivalence-Based Verification for Distributed LLM Trainingcited by 3
- 2025TAO: Tolerance-Aware Optimistic Verification for Floating-Point Neural Networkscited 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 1
- 2026Accelerating the Mitigation of LLM Inference Nondeterminism Across GPU Architectures22 Sep 2026
- 2025Bit-Accurate Modeling of GPU Matrix Multiply-Accumulate Units: Demystifying Numerical Discrepancy and Accuracy14 Nov 2025
- 2025TAO: Tolerance-Aware Optimistic Verification for Floating-Point Neural Networks15 Oct 2025
- 2025TrainVerify: Equivalence-Based Verification for Distributed LLM Training19 Jun 2025