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

Author:

Haidar Azzam1,Bayraktar Harun1,Tomov Stanimire2,Dongarra Jack234ORCID,Higham Nicholas J.4ORCID

Affiliation:

1. NVIDIA, Santa Clara, CA, USA

2. Department of Electrical Engineering and Computer Science, University of Tennessee, Knoxville, TN, USA

3. Computer Science and Mathematics Division, Oak Ridge National Laboratory, Oak Ridge, TN, USA

4. Department of Mathematics, University of Manchester, Manchester M13 9PL, UK

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.

Funder

Engineering and Physical Sciences Research Council

Publisher

The Royal Society

Subject

General Physics and Astronomy,General Engineering,General Mathematics

Reference42 articles.

1. NVIDIA. cuSolver library. https://docs.nvidia.com/cuda/cusolver/ Nov 2019.

2. MAGMA version 2.5.0. http://icl.cs.utk.edu/magma/software/ January 2019. Quick reference https://www.icl.utk.edu/files/print/2019/magma-sc19.pdf.

3. Towards dense linear algebra for hybrid GPU accelerated manycore systems

4. Intel. Math kernel library. https://software.intel.com/en-us/en-us/intel-mkl/.

5. LAPACK Users' Guide

Cited by 30 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Reducing Data Motion and Energy Consumption of Geospatial Modeling Applications Using Automated Precision Conversion;2023 IEEE International Conference on Cluster Computing (CLUSTER);2023-10-31

2. Leveraging Mixed Precision in Exponential Time Integration Methods;2023 IEEE High Performance Extreme Computing Conference (HPEC);2023-09-25

3. Optimizing Communication in 2D Grid-Based MPI Applications at Exascale;Proceedings of the 30th European MPI Users' Group Meeting;2023-09-11

4. Acceleration of iterative refinement for singular value decomposition;Numerical Algorithms;2023-07-19

5. XHYPRE: a reliable parallel numerical algorithm library for solving large-scale sparse linear equations;CCF Transactions on High Performance Computing;2023-04-04

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3