A Tight I/O Lower Bound for Matrix Multiplication
A Tight I/O Lower Bound for Matrix Multiplication
复制标题
矩阵乘法的严格 I/O 下界
DOI:
10.1145/3362694
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
R. A. van de Geijn
中科院分区:
文献类型:
--
作者:
T. Smith;R. A. van de Geijn
A tight lower bound for required I/O when computing a 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 phases needed to perform C:=AB, where each phase is a series of operations involving S reads and writes to and from fast memory, and S is the size of fast memory. A lower bound on the number of phases was then determined by obtaining an upper bound on the number of scalar multiplications performed per phase. This paper follows the same high level approach, but improves the lower bound by considering C:=AB+C instead of C:=AB, and obtains the maximum number of scalar fused multiply-adds (FMAs) per phase instead of scalar additions. Key to obtaining the new result is the decoupling of the per-phase I/O from the size of fast memory. The new lower bound is 2mnk/ S - 2S where S is the size of fast memory. The constant for the leading term is an improvement of a factor 4/ 2. A theoretical algorithm that attains the lower bound is given, and how the state-of-the-art Goto's algorithm also in some sense meets the lower bound is discussed.
DOI:
10.1109/ipdps.2018.00065
发表时间:
2018
期刊:
2018 IEEE International Parallel and Distributed Processing Symposium
影响因子:
--
作者:
Ballard, Grey;Knight, Nicholas;Rouse, Kathryn
通讯作者:
Rouse, Kathryn