ACCELERATING THE SOLUTION OF LINEAR SYSTEMS BY ITERATIVE REFINEMENT IN THREE PRECISIONS

Erin Carson, Nicholas Higham

    Research output: Contribution to journalArticlepeer-review

    Abstract

    We propose a general algorithm for solving an $n\times n$ nonsingular linear system $Ax = b$ based on iterative refinement with three precisions. The working precision is combined with possibly different precisions for solving for the correction term and for computing the residuals. Via rounding error analysis of the algorithm we derive sufficient conditions for convergence and bounds for the attainable forward error and normwise and componentwise backward errors. Our results generalize and unify many existing rounding error analyses for iterative refinement. With single precision as the working precision, we show that by using LU factorization in IEEE half precision as the solver and calculating the residuals in double precision it is possible to solve $Ax = b$ to full single precision accuracy for $\infty$-norm condition numbers $\kappa_{\infty}(A) \le 10^4$, with the $O(n^3)$ part of the computations carried out entirely in half precision. We show further that by solving the correction equations by GMRES preconditioned by the LU factors the restriction on the condition number can be weakened to $\kappa_{\infty}(A) \le 10^8$, although in general there is no guarantee that GMRES will converge quickly. Taking for comparison a standard $Ax = b$ solver that uses LU factorization in single precision, these results suggest that on architectures for which half precision is efficiently implemented it will be possible to solve certain linear systems $Ax = b$ up to twice as fast and to greater accuracy. Analogous results are given with double precision as the working precision.
    Original languageEnglish
    Pages (from-to)A817-A847
    JournalSIAM Journal on Scientific Computing
    Volume40
    Issue number2
    Early online date15 Mar 2018
    DOIs
    Publication statusPublished - 2018

    Keywords

    • Iterative refinement
    • linear system
    • multiple precision
    • Mixed precision
    • rounding error analysis
    • Backward error
    • Forward error
    • GMRES
    • Preconditioning

    Fingerprint

    Dive into the research topics of 'ACCELERATING THE SOLUTION OF LINEAR SYSTEMS BY ITERATIVE REFINEMENT IN THREE PRECISIONS'. Together they form a unique fingerprint.

    Cite this