A Unified Mixed-Precision Framework for Batched Iterative Solvers on GPUs
Pratik Nayak, Hartwig Anzt
Key points
From the paper's conclusion- We present a unified mixed-precision framework in Ginkgo with two complementary schemes.
Abstract
Ginkgo 's batched iterative solvers handle independent linear systems of varying conditioning at a single, pessimistic working precision. This causes unnecessary memory traffic on well-conditioned items and limits accuracy on stiff ones. We present a unified mixed-precision framework in Ginkgo with two complementary schemes. Low-precision matrix storage ( StorageLP ) lowers matrix-read memory traffic while keeping working-precision arithmetic. Fused two-precision iterative refinement ( FusedIR ) puts a low-precision inner Conjugate Gradient loop and a high-precision outer correction in one shared-memory GPU kernel, with per-item early termination. The framework spans the CUDA, HIP and OpenMP backends and integrates into Sundials ARKStep . On an NVIDIA GH200 and at the same working precision, StorageLP reduces the linear-solve time of batched shifted Poisson problems, at matched true residual by about \(12\%\) with FP32 storage and \(7\%\) with FP16 or BF16. In a batched heat equation the linear solves need few iterations, so StorageLP gives no gain, while FusedIR is the fastest scheme inside the solver for all but the smallest items, from on-chip residency. The FP32 build of the whole integrator is about \(1.6\times\) faster, from the working precision, not the framework. FusedIR reaches FP64 accuracy with an FP32 inner solve, beyond the limiting accuracy of StorageLP .
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Mixed-Precision SVD on GPUs via Ogita–Aishima Iterative RefinementACM Transactions on Mathematical Software · 2026
- CAMPS: Composable Adapters for Mixed-Precision SolversarXiv · 2026
- Mixed precision solvers for the all-at-once Runge--Kutta discretization of the heat equationarXiv · 2026
- Instruction-Aware Transfer of GPU Implementation Crossovers: a Tensor-Product Discontinuous Galerkin Operator on GB200, H100, and A100arXiv · 2026
- EvoCG: Self-Evolving Precision Control for Faster Conjugate GradientarXiv · 2026
- Mixed-precision numerics in scientific applications: survey and perspectivesThe Journal of Supercomputing · 2026