English

Analyzing and enhancing OSKI for sparse matrix-vector multiplication

Numerical Analysis 2013-10-10 v1

Abstract

Sparse matrix-vector multiplication (SpMxV) is a kernel operation widely used in iterative linear solvers. The same sparse matrix is multiplied by a dense vector repeatedly in these solvers. Matrices with irregular sparsity patterns make it difficult to utilize cache locality effectively in SpMxV computations. In this work, we investigate single- and multiple-SpMxV frameworks for exploiting cache locality in SpMxV computations. For the single-SpMxV framework, we propose two cache-size-aware top-down row/column-reordering methods based on 1D and 2D sparse matrix partitioning by utilizing the column-net and enhancing the row-column-net hypergraph models of sparse matrices. The multiple-SpMxV framework depends on splitting a given matrix into a sum of multiple nonzero-disjoint matrices so that the SpMxV operation is performed as a sequence of multiple input- and output-dependent SpMxV operations. For an effective matrix splitting required in this framework, we propose a cache-size-aware top-down approach based on 2D sparse matrix partitioning by utilizing the row-column-net hypergraph model. The primary objective in all of the three methods is to maximize the exploitation of temporal locality. We evaluate the validity of our models and methods on a wide range of sparse matrices by performing actual runs through using OSKI. Experimental results show that proposed methods and models outperform state-of-the-art schemes.

Keywords

Cite

@article{arxiv.1203.2739,
  title  = {Analyzing and enhancing OSKI for sparse matrix-vector multiplication},
  author = {Kadir Akbudak and Enver Kayaaslan and Cevdet Aykanat},
  journal= {arXiv preprint arXiv:1203.2739},
  year   = {2013}
}

Comments

arXiv admin note: substantial text overlap with arXiv:1202.3856

R2 v1 2026-06-21T20:33:09.075Z