Greedy approach based heuristics for partitioning SpMxV on FPGAs

Jiasen Huang, Weina Lu, Junyan Ren
{"title":"Greedy approach based heuristics for partitioning SpMxV on FPGAs","authors":"Jiasen Huang, Weina Lu, Junyan Ren","doi":"10.1109/FPL.2015.7293988","DOIUrl":null,"url":null,"abstract":"To eliminate the overhead of zero padding in sparse matrix-vector multiplication (SpMxV), prior works have been focusing on partitioning a sparse matrix into row vectors sets (RVS's) or sub-matrices. Nevertheless, performance degraded still due to the sparsity pattern of a sparse matrix. In this paper, we propose a heuristics, called recursive merging, which uses greedy approach to recursively merge those row vectors of nonzeros in a matrix into the RVS's, such that each set included is ensured a local optimal solution. For ten uneven benchmark matrices from the University of Florida Sparse Matrix Collection, our proposed partitioning algorithm is always identified as the method with the highest mean density (over 96%). An average speedup of 249X is thus achieved for all these ten matrices when 32 processors are allocated for implementation SpMxV on XC7V485T FPGAs.","PeriodicalId":261014,"journal":{"name":"2015 25th International Conference on Field Programmable Logic and Applications (FPL)","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2015-10-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2015 25th International Conference on Field Programmable Logic and Applications (FPL)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/FPL.2015.7293988","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

To eliminate the overhead of zero padding in sparse matrix-vector multiplication (SpMxV), prior works have been focusing on partitioning a sparse matrix into row vectors sets (RVS's) or sub-matrices. Nevertheless, performance degraded still due to the sparsity pattern of a sparse matrix. In this paper, we propose a heuristics, called recursive merging, which uses greedy approach to recursively merge those row vectors of nonzeros in a matrix into the RVS's, such that each set included is ensured a local optimal solution. For ten uneven benchmark matrices from the University of Florida Sparse Matrix Collection, our proposed partitioning algorithm is always identified as the method with the highest mean density (over 96%). An average speedup of 249X is thus achieved for all these ten matrices when 32 processors are allocated for implementation SpMxV on XC7V485T FPGAs.
基于贪心方法的fpga上SpMxV分区启发式算法
为了消除稀疏矩阵-向量乘法(SpMxV)中零填充的开销,以前的工作主要集中在将稀疏矩阵划分为行向量集(RVS)或子矩阵。然而,由于稀疏矩阵的稀疏模式,性能仍然下降。本文提出了一种启发式的递归归并方法,该方法利用贪心的方法将矩阵中非零的行向量递归归并到RVS中,从而保证所包含的每个集合都有一个局部最优解。对于来自佛罗里达大学稀疏矩阵集合的10个不均匀基准矩阵,我们提出的划分算法总是被识别为具有最高平均密度(超过96%)的方法。因此,当在XC7V485T fpga上分配32个处理器用于实现SpMxV时,所有这十个矩阵的平均加速速度为249X。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书