arrow
返回

Multiple-precision sparse matrix-vector multiplication on GPUs

Gpu上的多精度稀疏矩阵向量乘法

delete2022-05-01
delete4
PRE
AI
K
Konstantin Isupov *
DOI:10.1016/j.jocs.2022.101609delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Sparse matrix-vector multiplication (SpMV) appears in many application domains, and performance is the key consideration when implementing SpMV kernels. At the same time, accuracy is also important because rounding errors can drastically change the computed result. Multiple-precision arithmetic is a common approach to improve the accuracy of results. In this paper, we implement and evaluate multiple-precision SpMV kernels in the CSR, JAD, ELLPACK, and DIA matrix storage formats for graphics processing units. In the proposed implementation, the matrix is represented in double precision, while the input and output vectors are in multiple precision and internal computations are also performed in multiple precision. Our underlying floating-point arithmetic algorithms are based on the residue number system, which is attractive because of its carry-free nature and provides an arbitrary level of precision determined by the set of moduli that comprise the base of the system. In particular, we apply sets from 8 to 64 moduli, reaching precision values from 106 to 848 bits, and demonstrate how higher precision reduces the rounding errors in the SpMV kernel. We also conduct a thorough analysis of the CSR kernel in terms of roofline performance, occupancy and memory bandwidth, and evaluate the performance and memory consumption for all the proposed kernels. Numerical experiments on matrices from real-world applications show that ELLPACK offers the highest performance in many examples, while JAD is a good trade-off between performance and space requirements. Furthermore, our proposed kernels in general substantially improve the efficiency of sparse matrix-vector multiplication compared to implementations built on top of existing multiple-precision CUDA libraries. Finally, we integrate the multiple-precision SpMV into a preconditioned conjugate gradient linear solver and identify test cases where our implementation exhibits superior convergence and numerical robustness.
Keyword:
Sparse matrices
Sparse matrix-vector multiplication
Multiple-precision computation
High-performance computing
CUDA
err分享
err收藏
OpSparse: A Highly Optimized Framework for Sparse General Matrix Multiplication on GPUsOpSparse: gpu上高度优化的稀疏通用矩阵乘法框架
err2022-01-01
err3
errOAAI
errDu, Zhaoyang; Guan, Yijin; Guan, Tianchan; Niu, Dimin; Huang, Linyong; Zheng, Hongzhong; Xie, Yuan
err分享
err收藏
err分享
err收藏

期刊

Nature Computational Science 封面图
Nature Computational Science
IF:
18.3
论文数:
3.1K
被引数:
7.1K

机构

V
Vyatka State University
学者数:
122
论文数: 71
被引数: 89
引用论文

引用论文

Inspecting abundantly expressed genes in male strobili in sugi (Cryptomeria japonica D. Don) via a highly accurate cDNA assembly通过高度精确的cDNA组装,检查柳杉(Cryptomeria japonica D. Don)雄球花中丰富表达的基因。
err
IF0
err2020-04-23
err0
errOAAI
errFu-Jin Wei; Saneyoshi Ueno; Tokuko Ujino-Ihara; Maki Saito; Yoshihiko Tsumura; Yuumi Higuchi; Satoko Hirayama; Junji Iwai; Tetsuji Hakamata; Yoshinari Moriguchi
err分享
err收藏
Neutron scattering from films of pellicular zirconium phosphate
err1992-01-01
err0
PREAI
errRobert C. T. Slade; Claude R. M. Forano; Helen A. Pressman; Jacqueline M. Nicol; Antonella Peraio; Giulio Alberti
err分享
err收藏
err分享
err收藏
Detecting the causes of ill-conditioning in structural finite element models
err2014-03-01
err27
errOAAI
errKannan, Ramaseshan; Hendry, Stephen; Higham, Nicholas J.; Tisseur, Francoise
err分享
err收藏
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
学者 查看更多内容