Submitted by scrawford on
Title | Mixed-Precision Iterative Refinement using Tensor Cores on GPUs to Accelerate Solution of Linear Systems |
Publication Type | Journal Article |
Year of Publication | 2020 |
Authors | Haidar, A., H. Bayraktar, S. Tomov, J. Dongarra, and N. J. Higham |
Journal | Proceedings of the Royal Society A |
Volume | 476 |
Issue | 2243 |
Date Published | 2020-11 |
ISSN | 1471-2946 |
Keywords | GMRESLU factorization, GPU computing, half precision arithmetic, iterative refinement, mixed precision solvers |
Abstract | Double-precision floating-point arithmetic (FP64) has been the de facto standard for engineering and scientific simulations for several decades. Problem complexity and the sheer volume of data coming from various instruments and sensors motivate researchers to mix and match various approaches to optimize compute resources, including different levels of floating-point precision. In recent years, machine learning has motivated hardware support for half-precision floating-point arithmetic. A primary challenge in high-performance computing is to leverage reduced-precision and mixed-precision hardware. We show how the FP16/FP32 Tensor Cores on NVIDIA GPUs can be exploited to accelerate the solution of linear systems of equations Ax = b without sacrificing numerical stability. The techniques we employ include multiprecision LU factorization, the preconditioned generalized minimal residual algorithm (GMRES), and scaling and auto-adaptive rounding to avoid overflow. We also show how to efficiently handle systems with multiple right-hand sides. On the NVIDIA Quadro GV100 (Volta) GPU, we achieve a 4×−5× performance increase and 5× better energy efficiency versus the standard FP64 implementation while maintaining an FP64 level of numerical stability. |
DOI | 10.1098/rspa.2020.0110 |