Multiplication of Sparse Matrices and their Transpose Using Compressed Sparse Diagonals
Matrix-matrix multiplication is one of the most important kernel in linear algebra operations with a multitude of applications in scientific and engineering computing. Sparse matrix computation on modern High-performance Computing (HPC) architecture presents challenges such as load balancing, data locality optimization, and computational scalability. Data structures to store sparse matrices are designed to minimize overhead information as well as to optimize the operations count and memory access. In this study, we present a new data structure, “compressed sparse diagonal” (CSD), to efficiently store and compute with general sparse matrices. The CSD builds upon the previously developed diagonal storage - an orientation-independent uniform scheme to compute with “structured” matrices [1]. Compared with the widely used compressed sparse row/column (CSR/CSC), the CSD scheme avoids explicit transposition operation when multiplying a matrix with its transpose. The results from preliminary numerical experiments with the aforementioned types of matrices demonstrate the CSD scheme's effectiveness in matrix-transposed matrix multiplication.
Authors
- Sardar Anisul Haque (ORCID: https://orcid.org/0000-0002-3497-3156)
- Shahadat Hossain (ORCID: https://orcid.org/0000-0003-4545-2898)
- Mohammad Tanvir Parvez (ORCID: https://orcid.org/0000-0001-9033-014X)
Institutions
- University of Northern British Columbia (CA)
- Qassim University (SA)
- Buraydah Colleges (SA)
Publication Details
- Published
- 2024-09-23
- DOI
- https://doi.org/10.1109/hpec62836.2024.10938511
- Primary Topic
- Matrix Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 0.00