Low Thread-count Gustavson: A multithreaded algorithm for sparse matrix-matrix multiplication using perfect hashing

被引:5
作者
Elliott, James J. [1 ]
Siefert, Christopher M. [1 ]
机构
[1] Sandia Natl Labs, Comp Sci Res Inst, Ctr Comp Res, POB 5800, Albuquerque, NM 87185 USA
来源
SCALA 2018: PROCEEDINGS OF 2018 IEEE/ACM 9TH WORKSHOP ON LATEST ADVANCES IN SCALABLE ALGORITHMS FOR LARGE-SCALE SYSTEMS (SCALA) | 2018年
关键词
D O I
10.1109/ScalA.2018.00011
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Sparse matrix-matrix multiplication is a critical kernel for several scientific computing applications, especially the setup phase of algebraic multigrid. The MPI+X programming model, which is growing in popularity, requires that such kernels be implemented in a way that exploits on-node parallelism. We present a single-pass OpenMP variant of Gustavson's sparse matrix-matrix multiplication algorithm designed for architectures (e.g. CPU or Intel Xeon Phi) with reasonably large memory and modest thread counts (tens of threads, not thousands). These assumptions allow us to exploit perfect hashing and dynamic memory allocation to achieve performance improvements of up to 2x over third-party kernels for matrices derived from algebraic multigrid setup.
引用
收藏
页码:57 / 64
页数:8
相关论文
共 16 条
[1]   OpenMP: An industry standard API for shared-memory programming [J].
Dagum, L ;
Menon, R .
IEEE COMPUTATIONAL SCIENCE & ENGINEERING, 1998, 5 (01) :46-55
[2]  
Dalton S., 2015, OPTIMIZING SPARSE MA, P25
[3]   Algorithm 915, SuiteSparseQR: Multifrontal Multithreaded Rank-Revealing Sparse QR Factorization [J].
Davis, Timothy A. .
ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 2011, 38 (01)
[4]  
Demouth Julien, 2012, GPU TECHN C
[5]   Performance-Portable Sparse Matrix-Matrix Multiplication for Many-Core Architectures [J].
Deveci, Mehmet ;
Trott, Christian ;
Rajamanickam, Sivasankaran .
2017 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM WORKSHOPS (IPDPSW), 2017, :693-702
[6]   Kokkos: Enabling manycore performance portability through polymorphic memory access patterns [J].
Edwards, H. Carter ;
Trott, Christian R. ;
Sunderland, Daniel .
JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 2014, 74 (12) :3202-3216
[7]  
Evans Jason, 2011, Scalable memory allocation using jemalloc
[8]  
Gaidamour J., 2012, SCI PROG, V20
[9]  
Ghemawat S., TCMalloc: Thread-Caching Malloc
[10]  
Gustavson F. G., 1978, ACM Transactions on Mathematical Software, V4, P250, DOI 10.1145/355791.355796