Unleashing the performance of bmSparse for the sparse matrix multiplication in GPUs

Gonzalo Berger, Manuel Freire, Renzo Marini, Ernesto Dufrechu, P. Ezzatti
{"title":"Unleashing the performance of bmSparse for the sparse matrix multiplication in GPUs","authors":"Gonzalo Berger, Manuel Freire, Renzo Marini, Ernesto Dufrechu, P. Ezzatti","doi":"10.1109/ScalA54577.2021.00008","DOIUrl":null,"url":null,"abstract":"The evolution of data science and machine learning has increased the applicability of the sparse matrix multiplication (SPGEMM) kernel. Unlike more well-known operations such as the SPMV, in the SPGEMM the nonzero pattern of the result is determined by the interaction between the nonzero patterns of the inputs, which impose serious challenges to the development of high-performance implementations for accelerators. Recent efforts in this subject aim to mitigate this irregularity through the use of block-based sparse storage formats, obtaining promissing results on accelerators such as GPUs. In this work we study the format bmSparse [1] and propose optimizations to attack the principal bottlenecks of the original SPGEMM implementation for Nvidia GPUs. We evaluate the proposal using nine sparse matrices of different sizes, showing remarkable speedups with respect to CUSPARSE's CSR variant.","PeriodicalId":147849,"journal":{"name":"2021 12th Workshop on Latest Advances in Scalable Algorithms for Large-Scale Systems (ScalA)","volume":"27 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 12th Workshop on Latest Advances in Scalable Algorithms for Large-Scale Systems (ScalA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ScalA54577.2021.00008","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

Abstract

The evolution of data science and machine learning has increased the applicability of the sparse matrix multiplication (SPGEMM) kernel. Unlike more well-known operations such as the SPMV, in the SPGEMM the nonzero pattern of the result is determined by the interaction between the nonzero patterns of the inputs, which impose serious challenges to the development of high-performance implementations for accelerators. Recent efforts in this subject aim to mitigate this irregularity through the use of block-based sparse storage formats, obtaining promissing results on accelerators such as GPUs. In this work we study the format bmSparse [1] and propose optimizations to attack the principal bottlenecks of the original SPGEMM implementation for Nvidia GPUs. We evaluate the proposal using nine sparse matrices of different sizes, showing remarkable speedups with respect to CUSPARSE's CSR variant.
释放bmSparse在gpu中稀疏矩阵乘法的性能
数据科学和机器学习的发展增加了稀疏矩阵乘法(SPGEMM)核的适用性。与SPMV等更为人所熟知的操作不同,SPGEMM中的结果的非零模式是由输入的非零模式之间的相互作用决定的,这给高性能加速器实现的开发带来了严峻的挑战。最近在这方面的努力旨在通过使用基于块的稀疏存储格式来减轻这种不规律性,并在gpu等加速器上获得了有希望的结果。在这项工作中,我们研究了bmSparse[1]格式,并提出了针对Nvidia gpu的原始SPGEMM实现的主要瓶颈的优化方案。我们使用9个不同大小的稀疏矩阵来评估该提议,显示出相对于CUSPARSE的CSR变体的显著加速。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书