High-performance sparse matrix-vector multiplication on GPUs for structured grid computations

GPGPU-5 Pub Date : 2012-03-03 DOI:10.1145/2159430.2159436
J. Godwin, Justin Holewinski, P. Sadayappan
{"title":"High-performance sparse matrix-vector multiplication on GPUs for structured grid computations","authors":"J. Godwin, Justin Holewinski, P. Sadayappan","doi":"10.1145/2159430.2159436","DOIUrl":null,"url":null,"abstract":"In this paper, we address efficient sparse matrix-vector multiplication for matrices arising from structured grid problems with high degrees of freedom at each grid node. Sparse matrix-vector multiplication is a critical step in the iterative solution of sparse linear systems of equations arising in the solution of partial differential equations using uniform grids for discretization. With uniform grids, the resulting linear system Ax = b has a matrix A that is sparse with a very regular structure. The specific focus of this paper is on sparse matrices that have a block structure due to the large number of unknowns at each grid point. Sparse matrix storage formats such as Compressed Sparse Row (CSR) and Diagonal format (DIA) are not the most effective for such matrices.\n In this work, we present a new sparse matrix storage format that takes advantage of the diagonal structure of matrices for stencil operations on structured grids. Unlike other formats such as the Diagonal storage format (DIA), we specifically optimize for the case of higher degrees of freedom, where formats such as DIA are forced to explicitly represent many zero elements in the sparse matrix. We develop efficient sparse matrix-vector multiplication for structured grid computations on GPU architectures using CUDA [25].","PeriodicalId":232750,"journal":{"name":"GPGPU-5","volume":"8 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-03-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"36","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"GPGPU-5","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2159430.2159436","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 36

Abstract

In this paper, we address efficient sparse matrix-vector multiplication for matrices arising from structured grid problems with high degrees of freedom at each grid node. Sparse matrix-vector multiplication is a critical step in the iterative solution of sparse linear systems of equations arising in the solution of partial differential equations using uniform grids for discretization. With uniform grids, the resulting linear system Ax = b has a matrix A that is sparse with a very regular structure. The specific focus of this paper is on sparse matrices that have a block structure due to the large number of unknowns at each grid point. Sparse matrix storage formats such as Compressed Sparse Row (CSR) and Diagonal format (DIA) are not the most effective for such matrices. In this work, we present a new sparse matrix storage format that takes advantage of the diagonal structure of matrices for stencil operations on structured grids. Unlike other formats such as the Diagonal storage format (DIA), we specifically optimize for the case of higher degrees of freedom, where formats such as DIA are forced to explicitly represent many zero elements in the sparse matrix. We develop efficient sparse matrix-vector multiplication for structured grid computations on GPU architectures using CUDA [25].
基于gpu的结构化网格计算的高性能稀疏矩阵向量乘法
在本文中,我们解决了在每个网格节点具有高度自由度的结构化网格问题中产生的矩阵的高效稀疏矩阵向量乘法。稀疏矩阵-向量乘法是用均匀网格离散求解偏微分方程中出现的稀疏线性方程组迭代解的关键步骤。对于均匀网格,得到的线性系统Ax = b有一个矩阵a,它是稀疏的,具有非常规则的结构。本文的重点是由于在每个网格点上有大量的未知数而具有块结构的稀疏矩阵。压缩稀疏行(CSR)和对角格式(DIA)等稀疏矩阵存储格式对于此类矩阵不是最有效的。在这项工作中,我们提出了一种新的稀疏矩阵存储格式,该格式利用矩阵的对角结构在结构化网格上进行模板操作。与其他格式(如对角存储格式(DIA))不同,我们专门针对更高自由度的情况进行了优化,在这种情况下,像DIA这样的格式被迫显式地表示稀疏矩阵中的许多零元素。我们利用CUDA[25]开发了高效的稀疏矩阵向量乘法,用于GPU架构上的结构化网格计算。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:481959085
Book学术官方微信