Back to Search
Start Over
Design and Implementation of Adaptive SpMV Library for Multicore and Many-Core Architecture.
- Source :
-
ACM Transactions on Mathematical Software . Aug2018, Vol. 44 Issue 4, p1-25. 25p. - Publication Year :
- 2018
-
Abstract
- Sparse matrix vector multiplication (SpMV) is an important computational kernel in traditional high-performance computing and emerging data-intensive applications. Previous SpMV libraries are optimized by either application-specific or architecture-specific approaches but present difficulties for use in real applications. In this work, we develop an auto-tuning system (SMATER) to bridge the gap between specific optimizations and general-purpose use. SMATER provides programmers a unified interface based on the compressed sparse row (CSR) sparse matrix format by implicitly choosing the best format and fastest implementation for any input sparse matrix during runtime. SMATER leverages a machine-learning model and retargetable back-end library to quickly predict the optimal combination. Performance parameters are extracted from 2,386 matrices in the SuiteSparse matrix collection. The experiments show that SMATER achieves good performance (up to 10 times that of the Intel Math Kernel Library (MKL) on Intel E5-2680 v3) while being portable on state-of-the-art x86 multicore processors, NVIDIA GPUs, and Intel Xeon Phi accelerators. Compared with the Intel MKL library, SMATER runs faster by more than 2.5 times on average. We further demonstrate its adaptivity in an algebraic multigrid solver from the Hypre library and report greater than 20% performance improvement. [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 00983500
- Volume :
- 44
- Issue :
- 4
- Database :
- Academic Search Index
- Journal :
- ACM Transactions on Mathematical Software
- Publication Type :
- Academic Journal
- Accession number :
- 131949953
- Full Text :
- https://doi.org/10.1145/3218823