An Alternative Compressed Storage Format for Sparse Matrices
The handling of the sparse matrix vector product(SMVP) is a common kernel in many scientific applications. This kernel is an irregular problem, which has led to the development of several compressed storage formats such as CRS, CCS, and JDS among others. We propose an alternative storage format, the Transpose Jagged Diagonal Storage(TJDS), which is inspired from the Jagged Diagonal Storage format and makes no assumptions about the sparsity pattern of the matrix. We present a selection of sparse matrices and compare the storage requirements needed using JDS and TJDS formats, and we show that the TDJS format needs less storage space than the JDS format because the permutation array is not required. Another advantage of the proposed format is that although TJDS also suffers the drawback of indirect addressing, it does not need the permutation step after the computation of the SMVP.
Unable to display preview. Download preview PDF.
- 1.Dongarra, J.: Sparse Matrix Storage Formats. In: Bai, Z., et al. (eds.) Templates for the Solution of Algebraic Eigenvalue Problems: A Practical Guide, SIAM, Philadelphia (2000), Electronic version available at, http://www.cs.utk.edu/~dongarra/etemplates/node372.html Google Scholar
- 2.Matrix Market, the electronic version is available at the following, http://math.nist.gov/MatrixMarket/
- 4.Saad, Y.: SPARSKIT: A basic tool kit for sparse matrix computations Report RIACS-90-20. Research Institute for Advanced Computer Science, NASA Ames Research Center, Moffet Field, CA (1990)Google Scholar
- 6.Montagne, E., Ekambaram, A.: An Optimal Storage Format for Sparse Matrices (December 2002) (submitted for publication)Google Scholar