Title :
Model-guided performance analysis of the sparse matrix-matrix multiplication
Author :
Scharpff, Tobias ; Iglberger, Klaus ; Hager, Georg ; Rude, Ulrich
Author_Institution :
Dept. for Syst. Simulation, Univ. Erlangen-Nuremberg, Erlangen, Germany
Abstract :
Achieving high efficiency with numerical kernels for sparse matrices is of utmost importance, since they are part of many simulation codes and tend to use most of the available compute time and resources. In addition, especially in large scale simulation frameworks the readability and ease of use of mathematical expressions are essential components for the continuous maintenance, modification, and extension of software. In this context, the sparse matrix-matrix multiplication is of special interest. In this paper we thoroughly analyze the single-core performance of sparse matrix-matrix multiplication kernels in the Blaze Smart Expression Template (SET) framework. We develop simple models for estimating the achievable maximum performance, and use them to assess the efficiency of our implementations. Additionally, we compare these kernels with several commonly used SET-based C++ libraries, which, just as Blaze, aim at combining the requirements of high performance with an elegant user interface. For the different sparse matrix structures considered here, we show that our implementations are competitive or faster than those of the other SET libraries for most problem sizes on a current Intel multicore processor.
Keywords :
mathematics computing; matrix multiplication; parallel processing; software performance evaluation; sparse matrices; Blaze framework; Intel multicore processor; SET framework; continuous software maintenance; ease of use; high performance computing; large scale simulation frameworks; mathematical expressions; model-guided performance analysis; numerical kernels; simulation codes; single-core performance; smart expression template framework; software extension; software modification; sparse matrix-matrix multiplication kernels; user interface; Force; Kernel; Libraries; Matrix converters; Sparse matrices; Vectors;
Conference_Titel :
High Performance Computing and Simulation (HPCS), 2013 International Conference on
Conference_Location :
Helsinki
Print_ISBN :
978-1-4799-0836-3
DOI :
10.1109/HPCSim.2013.6641452