Merge-Based Parallel Sparse Matrix-Vector Multiplication
Authors:
- Duane MerrillDMDuane Merrill
- Michael GarlandMGMichael Garland
- 1 November 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 678-689
Abstract
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.Keywords
This publication has 18 references indexed in Scilit:
- Optimizing Sparse Matrix Operations on GPUs Using Merge Path2015
- Graphs, Matrices, and the GraphBLAS: Seven Good ReasonsProcedia Computer Science, 2015
- Accelerating sparse matrix-vector multiplication on GPUs using bit-representation-optimized schemes2013
- Efficient sparse matrix-vector multiplication on x86-based many-core processors2013
- clSpMV2012
- Automatically Tuning Sparse Matrix-Vector Multiplication for GPU Architectures2010
- Implementing sparse matrix-vector multiplication on throughput-oriented processors2009
- Optimization of sparse matrix-vector multiplication on emerging multicore platforms2007
- R-MAT: A Recursive Model for Graph Mining2004
- An optimal parallel algorithm for merging using multiselectionInformation Processing Letters, 1994