Recovering Accuracy with Mixed-Precision GPU Solvers
22 Apr 2026
Lower-precision arithmetic can make linear algebra faster, but a fast answer is only useful if it is accurate enough. This project explores that trade-off with a GPU solver for dense linear systems Ax = b.
The solver uses lower precision for factorization and the initial solve, then computes residuals and correction updates in FP64 as part of iterative refinement. The repository compares FP16 and FP32 paths with higher-precision baselines; its documented experiments report that refinement can recover errors around (10^{-12}) for the tested cases. The workflow brings together CUDA, cuSOLVER, CMake, automated builds, and Docker-based experiments.
The result depends on the problem and hardware, of course. Which matrix properties or benchmark cases would you want to see before trusting a mixed-precision solver?