A novel data transformation and execution strategy for accelerating sparse matrix multiplication on GPUs

库达 乘法(音乐) 算法 氙气 至强融核 并行算法 多核处理器 协处理器 图形处理单元的通用计算
作者
Peng Jiang,Changwan Hong,Gagan Agrawal
出处
期刊:ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming 卷期号:: 376-388 被引量:17
标识
DOI:10.1145/3332466.3374546
摘要

SpMM (multiplication of a sparse matrix and a dense matrix) and SDDMM (sampled dense-dense matrix multiplication) are at the core of many scientific, machine learning, and data mining applications. Because of the irregular memory accesses, the two kernels have poor data locality, and data movement overhead is a bottleneck for their performance. To overcome this issue, previous works have proposed using tiling and data reorganization to enhance data reuse. Despite their success in improving the performance for many sparse matrices, we find that the efficacy of existing techniques largely depends on how the non-zeros are distributed in a sparse matrix. In this work, we propose a novel row-reordering technique to improve data locality for SpMM and SDDMM on GPUs. The goal of such row reordering is to place similar rows close to each other, allowing them to be processed together, and thus providing better temporal locality for the values of the dense matrix. We focus on performing the row-reordering efficiently, by using a hierarchical clustering procedure optimized by locality-sensitive hashing. We also investigate when row-reordering is useful, and what factors the performance gains from our method are correlated to. Experimental evaluation using 1084 sparse matrices from SuiteSparse collection and Network Repository shows that our technique achieves up to 2.91x speedup for SpMM and up to 3.19x speedup for SDDMM against the state-of-the-art alternatives on an Nvidia P100 GPU.

科研通智能强力驱动
Strongly Powered by AbleSci AI
更新
PDF的下载单位、IP信息已删除 (2025-6-4)

科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
谭金钰发布了新的文献求助10
刚刚
干净的石头完成签到,获得积分10
刚刚
liangmh发布了新的文献求助10
刚刚
hxx完成签到,获得积分10
1秒前
嘉星糖完成签到,获得积分10
1秒前
Maxvail完成签到,获得积分10
2秒前
2秒前
高瑞航完成签到,获得积分10
3秒前
RaccoonTao完成签到 ,获得积分10
3秒前
TARALYN发布了新的文献求助30
3秒前
小王时完成签到,获得积分10
3秒前
firewood完成签到,获得积分10
3秒前
77发布了新的文献求助10
4秒前
5秒前
橘子同学完成签到 ,获得积分20
5秒前
神勇的雁荷完成签到,获得积分20
6秒前
红绿蓝完成签到 ,获得积分10
6秒前
Cyrene完成签到,获得积分10
6秒前
口农完成签到,获得积分10
6秒前
Yan完成签到,获得积分10
7秒前
专注的水壶完成签到 ,获得积分10
7秒前
sunwei发布了新的文献求助10
8秒前
量子星尘发布了新的文献求助10
8秒前
大力的安阳完成签到 ,获得积分10
8秒前
33完成签到,获得积分10
9秒前
潘杰完成签到,获得积分10
9秒前
胡萝卜完成签到 ,获得积分10
9秒前
小芙爱雪碧完成签到 ,获得积分10
9秒前
一路发发发发发完成签到,获得积分10
9秒前
9秒前
MJ完成签到,获得积分10
10秒前
Rita完成签到,获得积分10
10秒前
mm发布了新的文献求助30
10秒前
sisii完成签到,获得积分10
10秒前
和谐飞飞完成签到,获得积分10
10秒前
大模型应助m(_._)m采纳,获得10
11秒前
zhoushishan发布了新的文献求助10
11秒前
zyw完成签到 ,获得积分10
11秒前
明天又是美好的一天完成签到 ,获得积分10
12秒前
勤恳睿渊发布了新的文献求助10
12秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Predation in the Hymenoptera: An Evolutionary Perspective 1800
List of 1,091 Public Pension Profiles by Region 1561
Specialist Periodical Reports - Organometallic Chemistry Organometallic Chemistry: Volume 46 1000
Schlieren and Shadowgraph Techniques:Visualizing Phenomena in Transparent Media 600
Holistic Discourse Analysis 600
Beyond the sentence: discourse and sentential form / edited by Jessica R. Wirth 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 生物化学 物理 纳米技术 计算机科学 内科学 化学工程 复合材料 物理化学 基因 遗传学 催化作用 冶金 量子力学 光电子学
热门帖子
关注 科研通微信公众号,转发送积分 5516727
求助须知:如何正确求助?哪些是违规求助? 4609546
关于积分的说明 14516808
捐赠科研通 4546412
什么是DOI,文献DOI怎么找? 2491188
邀请新用户注册赠送积分活动 1472886
关于科研通互助平台的介绍 1444818