<link rel="stylesheet" href="styles.f3b1fba60ec7970c.css">

Publication:
Locality-Aware Parallel Sparse Matrix-Vector and Matrix-Transpose-Vector Multiplication on Many-Core Processors

Loading...
Thumbnail Image

Institution Authors

Organizational Units

Organizational Units

Advisor

Editor

Journal Title

Journal ISSN

Volume Title

Type:

Publisher

Institute of Electrical and Electronics Engineers (IEEE)

DOI

10.1109/tpds.2015.2453970

Abstract

Sparse matrix-vector and matrix-transpose-vector multiplication ( $\mathrm {{Sp}MM^TV}$ ) repeatedly performed as $z\leftarrow {A^T}x$ and $y\leftarrow A\ z$ (or $y\leftarrow A\ w$ ) for the same sparse matrix $A$ is a kernel operation widely used in various iterative solvers. One important optimization for serial $\mathrm {{Sp}MM^TV}$ is reusing $A$ -matrix nonzeros, which halves the memory bandwidth requirement. However, thread-level parallelization of $\mathrm {{Sp}MM^TV}$ that reuses $A$ -matrix nonzeros necessitates concurrent writes to the same output-vector entries. These concurrent writes can be handled in two ways: via atomic updates or thread-local temporary output vectors that will undergo a reduction operation, both of which are not efficient or scalable on processors with many cores and complicated cache-coherency protocols. In this work, we identify five quality criteria for efficient and scalable thread-level parallelization of $\mathrm {{Sp}MM^TV}$ that utilizes one-dimensional (1D) matrix partitioning. We also propose two locality-aware 1D partitioning methods, which achieve reusing $A$ -matrix nonzeros and intermediate $z$ -vector entries; exploiting locality in accessing $x$ -, $y$ -, and -vector entries; and reducing the number of concurrent writes to the same output-vector entries. These two methods utilize rowwise and columnwise singly bordered block-diagonal (SB) forms of $A$ . We evaluate the validity of our methods on a wide range of sparse matrices. Experiments on the 60-core cache-coherent Intel Xeon Phi processor show the validity of the identified quality criteria and the validity of the proposed methods in practice. The results also show that the performance improvement from reusing $A$ -matrix nonzeros compensates for the overhead of concurrent writes through the proposed SB-based methods.

Description

Journal or Series

IEEE Transactions on Parallel and Distributed Systems

ISSN

1045-9219

ISBN

Citation

Collections

Endorsement

Review

Supplemented By

Referenced By

Rights and licensing

openAccess

Research Projects

Journal Issue

Related Patent

Google Scholar
Scholar'da Ara ↗
Altmetric
Dimensions
PlumX Metrikleri
BIP! Indicators