Optimizing Sparse Matrix Operations on GPUs Using Merge Path
Authors:
- Sean BaxterSBSean Baxter
- Duane MerrillDMDuane Merrill
- Luke OlsonLOLuke Olson
- Michael GarlandMGMichael Garland
- 1 May 2015
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 15302075,p. 407-416
Abstract
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.Keywords
This publication has 13 references indexed in Scilit:
- Efficient Sparse Matrix-Vector Multiplication on GPUs Using the CSR Storage Format2014
- An Efficient GPU General Sparse Matrix-Matrix Multiplication for Irregular Data2014
- GPU merge path2012
- Exposing Fine-Grained Parallelism in Algebraic Multigrid MethodsSIAM Journal on Scientific Computing, 2012
- Parallel Sparse Matrix-Matrix Multiplication and Indexing: Implementation and ExperimentsSIAM Journal on Scientific Computing, 2012
- HIGH PERFORMANCE AND SCALABLE RADIX SORTING: A CASE STUDY OF IMPLEMENTING DYNAMIC PARALLELISM FOR GPU COMPUTINGParallel Processing Letters, 2011
- 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 platformsParallel Computing, 2009
- Two Fast Algorithms for Sparse Matrices: Multiplication and Permuted TranspositionACM Transactions on Mathematical Software, 1978