Merge-Based Parallel Sparse Matrix-Vector Multiplication
Duane Merrill, Michael Garland · 2012 International Conference for High Performance Computing, Networking, Storage and Analysis · 2016
We present a strictly balanced method for the parallel computation of sparse matrix-vector products (SpMV). Our algorithm operates directly upon the Compressed Sparse Row (CSR) sparse matrix format without preprocessing, inspection, reformatting, or supplemental encoding. Regardless of nonzero structure, our equitable 2D merge-based decomposition tightly bounds the workload assigned to each processing element. Furthermore, our technique is suitable for recursively partitioning CSR datasets themselves into multi-scale, distributed, NUMA, and GPU environments that are constrained by fixed-size local memories. We evaluate our method on both CPU and GPU microarchitectures across a very large corpus of diverse sparse matrix datasets. We show that traditional CsrMV methods are inconsistent performers, often subject to order-of-magnitude performance variation across similarly-sized datasets. In comparison, our method provides predictable performance that is substantially uncorrelated to the distribution of nonzeros among rows and broadly improves upon that of current CsrMV methods.
Cited by 114 works. doi:10.1109/sc.2016.57
Authors
References
- The university of Florida sparse matrix collection
- R-MAT: A Recursive Model for Graph Mining
- Optimization of sparse matrix-vector multiplication on emerging multicore platforms
- Implementing sparse matrix-vector multiplication on throughput-oriented processors
- Automatic performance tuning of sparse matrix kernels
- Semiring Frameworks and Algorithms for Shortest-Distance Problems
- Graph Algorithms in the Language of Linear Algebra
- Automatically Tuning Sparse Matrix-Vector Multiplication for GPU Architectures
- Parallel sparse matrix-vector and matrix-transpose-vector multiplication using compressed sparse blocks
- Efficient sparse matrix-vector multiplication on x86-based many-core processors