English

Cache oblivious storage and access heuristics for blocked matrix-matrix multiplication

Data Structures and Algorithms 2008-08-15 v2

Abstract

We investigate effects of ordering in blocked matrix--matrix multiplication. We find that submatrices do not have to be stored contiguously in memory to achieve near optimal performance. Instead it is the choice of execution order of the submatrix multiplications that leads to a speedup of up to four times for small block sizes. This is in contrast to results for single matrix elements showing that contiguous memory allocation quickly becomes irrelevant as the blocksize increases.

Keywords

Cite

@article{arxiv.0808.1108,
  title  = {Cache oblivious storage and access heuristics for blocked matrix-matrix multiplication},
  author = {Nicolas Bock and Emanuel H. Rubensson and Paweł Sałek and Anders M. N. Niklasson and Matt Challacombe},
  journal= {arXiv preprint arXiv:0808.1108},
  year   = {2008}
}

Comments

Fixed typos

R2 v1 2026-06-21T11:08:37.389Z