GPU Sparse Matrix Vector Multiplication Optimization Based on ELLB Storage Format

Haonan Chen, Zhuowei Wang, Lianglun Cheng
{"title":"GPU Sparse Matrix Vector Multiplication Optimization Based on ELLB Storage Format","authors":"Haonan Chen, Zhuowei Wang, Lianglun Cheng","doi":"10.1145/3587828.3587834","DOIUrl":null,"url":null,"abstract":"ELLPACK(ELL) sparse matrix storage format has problems such as high storage consumption and low efficiency of sparse matrix vector multiplication(SpMV). To solve this problem, we propose a Graphic Processing Unit(GPU)-based efficient ELLPACK-Block(ELLB) sparse matrix storage format. Based on the original ELL storage format, this format adaptively divides the matrix into blocks according to the average number of non-zero elements in each row, and uses auxiliary matrices to improve the efficiency of SpMV solution. We use the ELLB storage format to solve the SpMV problem for different matrices. The experimental results show that compared with the Perfect Compressed Sparse Row(PCSR) format, the ELLB sparse matrix storage format saves 50 of the memory space, and the average efficiency of solving SpMV is increased by 7 times; compared with the Effective Compressed Sparse Row(ECSR) format, the memory space usage is increased by 25, but the solution of SpMV The efficiency is increased by an average of 7.65 times.","PeriodicalId":340917,"journal":{"name":"Proceedings of the 2023 12th International Conference on Software and Computer Applications","volume":"35 2 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2023 12th International Conference on Software and Computer Applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3587828.3587834","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

ELLPACK(ELL) sparse matrix storage format has problems such as high storage consumption and low efficiency of sparse matrix vector multiplication(SpMV). To solve this problem, we propose a Graphic Processing Unit(GPU)-based efficient ELLPACK-Block(ELLB) sparse matrix storage format. Based on the original ELL storage format, this format adaptively divides the matrix into blocks according to the average number of non-zero elements in each row, and uses auxiliary matrices to improve the efficiency of SpMV solution. We use the ELLB storage format to solve the SpMV problem for different matrices. The experimental results show that compared with the Perfect Compressed Sparse Row(PCSR) format, the ELLB sparse matrix storage format saves 50 of the memory space, and the average efficiency of solving SpMV is increased by 7 times; compared with the Effective Compressed Sparse Row(ECSR) format, the memory space usage is increased by 25, but the solution of SpMV The efficiency is increased by an average of 7.65 times.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于ELLB存储格式的GPU稀疏矩阵向量乘法优化
ELLPACK(ELL)稀疏矩阵存储格式存在存储空间消耗大、稀疏矩阵向量乘法(SpMV)效率低等问题。为了解决这个问题,我们提出了一种基于图形处理单元(GPU)的高效ELLPACK-Block(ELLB)稀疏矩阵存储格式。该格式在原有ELL存储格式的基础上,根据每行非零元素的平均个数自适应将矩阵划分为块,并使用辅助矩阵提高SpMV求解的效率。我们使用ELLB存储格式来解决不同矩阵的SpMV问题。实验结果表明,与完全压缩稀疏行(PCSR)格式相比,ELLB稀疏矩阵存储格式节省了50%的存储空间,求解SpMV的平均效率提高了7倍;与ECSR (Effective Compressed Sparse Row)格式相比,SpMV格式的内存空间利用率提高了25倍,而SpMV格式的效率平均提高了7.65倍。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
The Use of Dynamic n-Gram to Enhance TF-IDF Features Extraction for Bahasa Indonesia Cyberbullying Classification Development of IT Equipment Management Methodology based on Carbon Emission and End-of-Life Period with A Design Thinking Approach: Case Study: Bandung Institute of Technology Formal Specification and Model Checking of Raft Leader Election in Maude* An Ontology-based Modeling for Classifying Risk of Suicidal Behavior String Figure Simulation with Multiresolution Wire Model
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1