TileSpMV: A Tiled Algorithm for Sparse Matrix-Vector Multiplication on GPUs

并行计算 矩阵乘法 乘法(音乐) 库达 加速 并行算法 计算 乘法算法 基质(化学分析) 计算科学
作者
Yuyao Niu,Zhengyang Lu,Meichen Dong,Zhou Jin,Weifeng Liu,Guangming Tan
出处
期刊:International Parallel and Distributed Processing Symposium 卷期号:: 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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
今后应助Vaseegara采纳,获得10
刚刚
1秒前
1秒前
科研通AI6.1应助战术大师采纳,获得30
1秒前
1秒前
伶俐绮发布了新的文献求助10
2秒前
年轻孤兰完成签到,获得积分10
3秒前
李健发布了新的文献求助10
4秒前
青冥之外完成签到,获得积分10
4秒前
幸运发布了新的文献求助10
4秒前
5秒前
年轻孤兰发布了新的文献求助10
6秒前
机智的小土豆完成签到,获得积分10
6秒前
6秒前
7秒前
cdercder应助wangyaya采纳,获得10
9秒前
奋斗的萝发布了新的文献求助10
9秒前
科研通AI6.2应助lllroy采纳,获得30
9秒前
顾旻发布了新的文献求助10
10秒前
星辰发布了新的文献求助10
10秒前
科研通AI6.4应助伶俐绮采纳,获得10
11秒前
独特伟泽发布了新的文献求助10
11秒前
一二发布了新的文献求助10
11秒前
蔡成伟发布了新的文献求助10
12秒前
不卷完成签到,获得积分10
15秒前
CodeCraft应助奋斗的萝采纳,获得10
16秒前
天天快乐应助痛风鸡采纳,获得10
16秒前
lcx完成签到,获得积分10
17秒前
18秒前
19秒前
19秒前
dayu完成签到,获得积分10
19秒前
20秒前
20秒前
大气的雁桃完成签到 ,获得积分10
20秒前
辣条机会有限完成签到 ,获得积分10
20秒前
无梦亦无影完成签到,获得积分10
21秒前
旺哥发布了新的文献求助10
21秒前
黑米粥发布了新的文献求助10
21秒前
24秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Cronologia da história de Macau 5000
Merrill's Atlas of Radiographic Positioning and Procedures - 3-Volume Set, 16th Edition 2000
Matrix Methods in Data Mining and Pattern Recognition 540
Interactions of Vowel Quality and Prosody in East Slavic 500
Vander's Renal Physiology第10版 500
Materials Informatics Molecules, Crystals and Beyond A volume in Acta Materialia Book Series 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7056819
求助须知:如何正确求助?哪些是违规求助? 8720367
关于积分的说明 18460767
捐赠科研通 6579188
什么是DOI,文献DOI怎么找? 3122303
关于科研通互助平台的介绍 2213272
邀请新用户注册赠送积分活动 2097901