并行计算
矩阵乘法
乘法(音乐)
库达
加速
并行算法
计算
乘法算法
基质(化学分析)
计算科学
作者
Yuyao Niu,Zhengyang Lu,Meichen Dong,Zhou Jin,Weifeng Liu,Guangming Tan
出处
期刊:International Parallel and Distributed Processing Symposium
日期:2021-05-17
卷期号:: 68-78
被引量:3
标识
DOI:10.1109/ipdps49936.2021.00016
摘要
With the extensive use of GPUs in modern supercomputers, accelerating sparse matrix-vector multiplication (SpMV) on GPUs received much attention in the last couple of decades. A number of techniques, such as increasing utilization of wide vector units, reducing load imbalance and selecting the best formats, have been developed. However, the 2D spatial sparsity structure has not been well exploited in the existing work for SpMV on GPUs. In this paper, we propose an efficient tiled algorithm called TileSpMV for optimizing SpMV on GPUs through exploiting 2D spatial structure of sparse matrices. We first implement seven warp-level SpMV methods for calculating sparse tiles stored in a variety of formats, and then design a selection method to find the best format and SpMV implementation for each tile. We also adaptively extract nonzeros in the very sparse tiles into a separate matrix to maximize the overall performance. The experimental results show that our method is faster than state-of-the-art SpMV methods such as Merge-SpMV, CSR5 and BSR in most matrices of the full SuiteSparse Matrix Collection and delivers up to 2.61x, 3.96x and 426.59x speedups, respectively.
科研通智能强力驱动
Strongly Powered by AbleSci AI