Mixed-precision numerics in scientific applications: survey and perspectives
Authors:
- Aditya KashiAKAditya Kashi
- Hao LuHLHao Lu
- Wesley BrewerWBWesley Brewer
- David RogersDRDavid Rogers
- Michael MathesonMMMichael Matheson
- Mallikarjun ShankarMSMallikarjun Shankar
- Feiyi WangFWFeiyi Wang
Preprint
Abstract
The explosive demand for artificial intelligence (AI) workloads has led to a significant increase in silicon area dedicated to lower-precision computations on recent high-performance computing hardware designs. However, mixed-precision capabilities, which can achieve performance improvements of 8x compared to double-precision in extreme compute-intensive workloads, remain largely untapped in most scientific applications. A growing number of efforts have shown that mixed-precision algorithmic innovations can deliver superior performance without sacrificing accuracy. These developments should prompt computational scientists to seriously consider whether their scientific modeling and simulation applications could benefit from the acceleration offered by new hardware and mixed-precision algorithms. In this article, we review the literature on relevant applications, existing mixed-precision algorithms, theories, and the available software infrastructure. We then offer our perspective and recommendations on the potential of mixed-precision algorithms to enhance the performance of scientific simulation applications. Broadly, we find that mixed-precision methods can have a large impact on computational science in terms of time-to-solution and energy consumption. This is true not only for a few arithmetic-dominated applications but also, to a more moderate extent, to the many memory bandwidth-bound applications. In many cases, though, the choice of algorithms and regions of applicability will be domain-specific, and thus require input from domain experts. It is helpful to identify cross-cutting computational motifs and their mixed-precision algorithms in this regard. Finally, there are new algorithms being developed to utilize AI hardware and and AI methods to accelerate first-principles computational science, and these should be closely watched as hardware platforms evolve.Keywords
All Related Versions
This publication has 54 references indexed in Scilit:
- On floating point precision in computational fluid dynamics using OpenFOAMFuture Generation Computer Systems, 2023
- Three-precision algebraic multigrid on GPUsFuture Generation Computer Systems, 2023
- Mixed precisions‐step Lanczos and conjugate gradient algorithmsNumerical Linear Algebra with Applications, 2021
- The LBPM software package for simulating multiphase flow on digital images of porous rocksComputational Geosciences, 2021
- MFEM: A modular finite element methods libraryComputers & Mathematics with Applications, 2021
- Reduced‐precision parametrization: lessons from an intermediate‐complexity atmospheric modelQuarterly Journal of the Royal Meteorological Society, 2020
- GPU acceleration of the Locally Selfconsistent Multiple Scattering code for first principles calculation of the ground state and statistical physics of materialsComputer Physics Communications, 2017
- Error-free transformations of matrix multiplication by using fast routines of matrix multiplication and its applicationsNumerical Algorithms, 2011
- Accelerating the reduction to upper Hessenberg, tridiagonal, and bidiagonal forms through hybrid GPU-based computingParallel Computing, 2010
- Towards dense linear algebra for hybrid GPU accelerated manycore systemsParallel Computing, 2010