Login / Signup

Mixed-precision iterative refinement using tensor cores on GPUs to accelerate solution of linear systems.

Azzam HaidarHarun BayraktarStanimire TomovJack DongarraNicholas J Higham
Published in: Proceedings. Mathematical, physical, and engineering sciences (2020)
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.
Keyphrases
  • contrast enhanced
  • magnetic resonance imaging
  • magnetic resonance
  • computed tomography
  • machine learning
  • healthcare
  • primary care
  • molecular dynamics
  • patient reported outcomes