Adaptive Precision Block-Jacobi for High Performance Preconditioning in the Ginkgo Linear Algebra Software
Authors:
Open Access
- 26 April 2021
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Mathematical Software
- Vol. 47 (2) , 1-28
Abstract
The use of mixed precision in numerical algorithms is a promising strategy for accelerating scientific applications. In particular, the adoption of specialized hardware and data formats for low-precision arithmetic in high-end GPUs (graphics processing units) has motivated numerous efforts aiming at carefully reducing the working precision in order to speed up the computations. For algorithms whose performance is bound by the memory bandwidth, the idea of compressing its data before (and after) memory accesses has received considerable attention. One idea is to store an approximate operator–like a preconditioner–in lower than working precision hopefully without impacting the algorithm output. We realize the first high-performance implementation of an adaptive precision block-Jacobi preconditioner which selects the precision format used to store the preconditioner data on-the-fly, taking into account the numerical properties of the individual preconditioner blocks. We implement the adaptive block-Jacobi preconditioner as production-ready functionality in the Ginkgo linear algebra library, considering not only the precision formats that are part of the IEEE standard, but also customized formats which optimize the length of the exponent and significand to the characteristics of the preconditioner blocks. Experiments run on a state-of-the-art GPU accelerator show that our implementation offers attractive runtime savings.Keywords
Funding Information
- Helmholtz-Gemeinschaft (VH-NG-1241)
- U.S. Department of Energy (17-SC-20-SC)
- Horizon 2020 Framework Programme (732631)
This publication has 12 references indexed in Scilit:
- Ginkgo: A high performance numerical linear algebra libraryJournal of Open Source Software, 2020
- Towards Continuous Benchmarking2019
- Variable-size batched Gauss–Jordan elimination for block-Jacobi preconditioning on graphics processorsParallel Computing, 2019
- Machine Learning-Aided Numerical Linear Algebra: Convolutional Neural Networks for the Efficient Preconditioner Generation2018
- Variable-Size Batched Condition Number Calculation on GPUs2018
- Adaptive precision in block‐Jacobi preconditioning for iterative sparse linear system solversConcurrency and Computation: Practice and Experience, 2018
- Accelerating the Solution of Linear Systems by Iterative Refinement in Three PrecisionsSIAM Journal on Scientific Computing, 2018
- Variable-Size Batched Gauss-Huard for Block-Jacobi PreconditioningProcedia Computer Science, 2017
- The university of Florida sparse matrix collectionACM Transactions on Mathematical Software, 2011
- Inexact Preconditioned Conjugate Gradient Method with Inner-Outer IterationSIAM Journal on Scientific Computing, 1999