Exploiting Multiple Levels of Parallelism in Sparse Matrix-Matrix Multiplication
Preprint
Abstract
Sparse matrix-matrix multiplication (or SpGEMM) is a key primitive for many high-performance graph algorithms as well as for some linear solvers, such as algebraic multigrid. The scaling of existing parallel implementations of SpGEMM is heavily bound by communication. Even though 3D (or 2.5D) algorithms have been proposed and theoretically analyzed in the flat MPI model on Erdos-Renyi matrices, those algorithms had not been implemented in practice and their complexities had not been analyzed for the general case. In this work, we present the first ever implementation of the 3D SpGEMM formulation that also exploits multiple (intra-node and inter-node) levels of parallelism, achieving significant speedups over the state-of-the-art publicly available codes at all levels of concurrencies. We extensively evaluate our implementation and identify bottlenecks that should be subject to further research.Keywords
All Related Versions
This publication has 24 references indexed in Scilit:
- A survey of direct methods for sparse linear systemsActa Numerica, 2016
- A framework for general sparse matrix–matrix multiplication on GPUs and heterogeneous processorsJournal of Parallel and Distributed Computing, 2015
- Parallel processing of filtered queries in attributed semantic graphsJournal of Parallel and Distributed Computing, 2015
- Exascale Computing Trends: Adjusting to the "New Normal"' for Computer ArchitectureComputing in Science & Engineering, 2013
- A Unified Framework for Numerical and Combinatorial ComputingComputing in Science & Engineering, 2008
- Collective communication: theory, practice, and experienceConcurrency and Computation: Practice and Experience, 2007
- Communication lower bounds for distributed-memory matrix multiplicationJournal of Parallel and Distributed Computing, 2004
- SUMMA: scalable universal matrix multiplication algorithmConcurrency: Practice and Experience, 1997
- Density Functional and Density Matrix Method Scaling Linearly with the Number of AtomsPhysical Review Letters, 1996
- Analyzing Scalability of Parallel Algorithms and ArchitecturesJournal of Parallel and Distributed Computing, 1994