Optimizing Sparse Matrix Operations on GPUs Using Merge Path
Steven Dalton, Sean Baxter, Duane Merrill et al. · Proceedings - IEEE International Parallel and Distributed Processing Symposium · 2015
Irregular computations on large workloads are a necessity in many areas of computational science. Mapping these computations to modern parallel architectures, such as GPUs, is particularly challenging because the performance often depends critically on the choice of data-structure and algorithm. In this paper, we develop a parallel processing scheme, based on Merge Path partitioning, to compute segmented row-wise operations on sparse matrices that exposes parallelism at the granularity of individual nonzero entries. Our decomposition achieves competitive performance across many diverse problems while maintaining predictable behaviour dependent only on the computational work and ameliorates the impact of irregularity. We evaluate the performance of three sparse kernels: Spiv, Spaded and Sperm. We show that our processing scheme for each kernel yields comparable performance to other schemes in many cases and our performance is highly correlated, nearly 1, to the computational work irrespective of the underlying structure of the matrices.
Cited by 33 works. doi:10.1109/ipdps.2015.98
Authors
References
- Optimization of sparse matrix-vector multiplication on emerging multicore platforms
- Implementing sparse matrix-vector multiplication on throughput-oriented processors
- Two Fast Algorithms for Sparse Matrices: Multiplication and Permuted Transposition
- Automatic performance tuning of sparse matrix kernels
- Model-driven autotuning of sparse matrix-vector multiply on GPUs
- Automatically Tuning Sparse Matrix-Vector Multiplication for GPU Architectures
- HIGH PERFORMANCE AND SCALABLE RADIX SORTING: A CASE STUDY OF IMPLEMENTING DYNAMIC PARALLELISM FOR GPU COMPUTING
- Exposing Fine-Grained Parallelism in Algebraic Multigrid Methods
- Efficient Sparse Matrix-Vector Multiplication on GPUs Using the CSR Storage Format
- Understanding throughput-oriented architectures