Title :
Performance of a Structure-Detecting SpMV Using the CSR Matrix Representation
Author :
Pabst, Hans ; Bachmayer, Bev ; Klemm, Michael
Author_Institution :
Intel Corp., Feldkirchen/Munich, Germany
Abstract :
Sparse matrix-vector multiplication (SpMV) is an important building block for many scientific applications. Various formats exist to store and represent sparse matrices in the computer´s memory. The compressed row storage format (CRS or CSR) is typically a baseline to report a new hybrid or an improved representation of sparse matrices. In this paper, we describe the implementation and performance benefit of a structure-detecting SpMV algorithm using the CSR format. Our implementation detects contiguous rows in the sparse matrix representation to improve the performance of the computation by making better use of the available memory bandwidth. Applications with mixed or a-priori unknown matrix structures can take advantage of the runtime structure detection. We show that the additional control flow needed does not degrade performance, but may deliver up to twice the performance of the traditional SpMV algorithm.
Keywords :
data compression; digital arithmetic; matrix multiplication; natural sciences computing; sparse matrices; CSR format; CSR matrix representation; compressed row storage format; control flow; matrix structures; scientific applications; sparse matrices; sparse matrix-vector multiplication; structure-detecting SpMV; Arrays; Bandwidth; Indexes; Instruction sets; Sparse matrices; Symmetric matrices; Vectors; CRS; CSR; SpMV; runtime optimization; sparse matrix vector multiplication; structure detection;
Conference_Titel :
Parallel and Distributed Computing (ISPDC), 2012 11th International Symposium on
Conference_Location :
Munich/Garching, Bavaria
Print_ISBN :
978-1-4673-2599-8
DOI :
10.1109/ISPDC.2012.9