Multiple-precision matrix-vector multiplication on graphics processing units
Константин Сергеевич Исупов, Князьков Владимир Сергеевич · Program systems theory and applications · 2020
We are considering a parallel implementation of matrix-vector multiplication (GEMV, Level 2 of the BLAS) for graphics processing units (GPUs) using multiple-precision arithmetic based on the residue number system. In our GEMV implementation, element-wise operations with multiple-precision vectors and matrices consist of several parts, each of which is calculated by a separate CUDA kernel. This feature eliminates branch divergence when performing sequential parts of multiple-precision operations and allows the full utilization of the GPU’s resources. An efficient data structure for storing arrays with multiple-precision entries provides a coalesced access pattern to the GPU global memory. We have performed a rounding error analysis and derived error bounds for the proposed GEMV implementation. Experimental results show the high efficiency of the proposed solution compared to existing high-precision packages deployed on GPU.
Cited by 3 works. doi:10.25209/2079-3316-2020-11-3-61-84 Open-access PDF
Authors
References
- The Art of Computer Programming
- Basic Linear Algebra Subprograms for Fortran Usage
- Accuracy and Stability of Numerical Algorithms
- Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric Predicates
- Training deep neural networks with low precision multiplications
- Accurate Sum and Dot Product
- Residue Number Systems - Theory and Implementation
- Residue Number Systems
- Algorithms for quad-double precision floating point arithmetic
- Handbook of Floating-Point Arithmetic