A Unified Mixed-Precision Framework for Batched Iterative Solvers on GPUs

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.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Mathematical Software
Published
2026-11-27
DOI
https://doi.org/10.1145/3872106
Primary Topic
Matrix Theory and Algorithms
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

A Unified Mixed-Precision Framework for Batched Iterative Solvers on GPUs

Hartwig Anzt, Pratik Nayak
ACM Transactions on Mathematical Software
Matrix Theory and Algorithms
article

A Unified Mixed-Precision Framework for Batched Iterative Solvers on GPUs

Hartwig Anzt, Pratik Nayak
article en

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.

ACM Transactions on Mathematical Software
Knoxville College (US), Technical University of Munich (DE), University of Tennessee at Knoxville (US)
Matrix Theory and Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
A Unified Mixed-Precision Framework for Batched Iterative Solvers on GPUs — Hartwig Anzt, Pratik Nayak · ACM Transactions on Mathematical Software (2026) | TGRS Research Map | TGRS