arrow
Return

Adaptive diagonal sparse matrix-vector multiplication on GPU

delete2021-11-01
delete7
PRE
AI
J
Jiaquan Gao *
Y
Yifei Xia
R
Renjie Yin
DOI:10.1016/j.jpdc.2021.07.007delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
For diagonal sparse matrices that have many long zero sections or scatter points or diagonal deviations from the main diagonal, a great number of zeros need be filled to maintain the diagonal structure while using DIA to store them, which leads to the performance degradation of the existing DIA kernels because the padded zeros consume extra computation and memory resources. This motivates us to present an adaptive sparse matrix-vector multiplication (SpMV) for diagonal sparse matrices on the graphics processing unit (GPU), called DIA-Adaptive, to alleviate the drawback of DIA kernels for these cases. For DIA-Adaptive, there are the following characteristics: (1) two new sparse storage formats, BRCSD (Diagonal Compressed Storage based on Row-Blocks)-I and BRCSD-II, are proposed to adapt it to various types of diagonal sparse matrices besides adopting DIA, and SpMV kernels corresponding to these storage formats are presented; and (2) a search engine is designed to choose the most appropriate storage format from DIA, BRCSD-I, and BRCSD-II for any given diagonal sparse matrix; and (3) a code generator is presented to automatically generate SpMV kernels. Using DIA-Adaptive, the ideal storage format and kernel are automatically chosen for any given diagonal sparse matrix, and thus high performance is achieved. Experimental results show that our proposed DIA-Adaptive is effective, and has high performance and good parallelism, and outperforms the state-of-the-art SpMV algorithms for all test cases. (C) 2021 Elsevier Inc. All rights reserved.
Keywords:
Diagonal sparse matrices
Sparse matrix-vector multiplication
Sparse storage format
CUDA
GPU
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Journal of Parallel and Distributed Computing cover
Journal of Parallel and Distributed Computing
IF:
4
Papers:
3.8K
Citations:
4.8K

Organization

Z
zhejiang university of technology
Scholars:
3.3W
Papers: 2.0W
Citations: 22
N
Nanjing Normal University
Scholars:
1.7W
Papers: 1.3W
Citations: 1.9W
Cited Papers

Cited Papers

Early Childhood Behavioral Health Integration Activities and HealthySteps: Sustaining Practice, Averting Costs
err2018-06-01
err0
PREAI
errMelissa Buchholz; Bridget Burnett; Kathryn L. Margolis; Amanda Millar; Ayelet Talmi
errShare
errSave
An Extended Compression Format for the Optimization of Sparse Matrix-Vector Multiplication
err2013-10-01
err28
PREAI
errKarakasis, Vasileios; Gkountouvas, Theodoros; Kourtis, Kornilios; Goumas, Georgios; Koziris, Nectarios
errShare
errSave
Magnetooptic bounce-cavity modulator
err1979-09-15
err0
PREAI
errK. Y. Lau; J. C. Campbell; J. Stone
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Comparative proteomic analysis of seedling leaves of cold-tolerant and -sensitive spring soybean cultivars
err2014-10-31
err0
PREAI
errXin Tian; Ying Liu; Zhigang Huang; Huaping Duan; Jianhua Tong; Xiaoling He; Weihong Gu; Hao Ma; Langtao Xiao
errShare
errSave
no more