pith. machine review for the scientific record. sign in

arxiv: 1702.02017 · v2 · submitted 2017-02-03 · 💻 cs.CC

Recognition: unknown

A Tight I/O Lower Bound for Matrix Multiplication

Authors on Pith no claims yet
classification 💻 cs.CC
keywords boundlowermemoryfastmatricesnumberalgorithmattains
0
0 comments X
read the original abstract

A tight lower bound for required I/O when computing an ordinary matrix-matrix multiplication on a processor with two layers of memory is established. Prior work obtained weaker lower bounds by reasoning about the number of segments needed to perform $C:=AB$, for distinct matrices $A$, $B$, and $C$, where each segment is a series of operations involving $M$ reads and writes to and from fast memory, and $M$ is the size of fast memory. A lower bound on the number of segments was then determined by obtaining an upper bound on the number of elementary multiplications performed per segment. This paper follows the same high level approach, but improves the lower bound by (1) transforming algorithms for MMM so that they perform all computation via fused multiply-add instructions (FMAs) and using this to reason about only the cost associated with reading the matrices, and (2) decoupling the per-segment I/O cost from the size of fast memory. For $n \times n$ matrices, the lower bound's leading-order term is $2n^3/\sqrt{M}$. A theoretical algorithm whose leading terms attains this is introduced. To what extent the state-of-the-art Goto's Algorithm attains the lower bound is discussed.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. A Proposed Framework for Advanced (Multi)Linear Infrastructure in Engineering and Science (FAMLIES)

    cs.MS 2026-04 unverdicted novelty 4.0

    Proposes FAMLIES as a new flexible framework that vertically integrates linear and multi-linear algebra software stacks for high-performance computing on diverse architectures.