A Framework for Practical Parallel Fast Matrix Multiplication
A Framework for Practical Parallel Fast Matrix Multiplication
复制标题
DOI:
10.1145/2688500.2688513
复制
发表时间:
2015-08-01
影响因子:
--
通讯作者:
Ballard, Grey
中科院分区:
文献类型:
--
作者:
Benson, Austin R.;Ballard, Grey
Matrix multiplication is a fundamental computation in many scientific disciplines. In this paper, we show that novel fast matrix multiplication algorithms can significantly outperform vendor implementations of the classical algorithm and Strassen's fast algorithm on modest problem sizes and shapes. Furthermore, we show that the best choice of fast algorithm depends not only on the size of the matrices but also the shape. We develop a code generation tool to automatically implement multiple sequential and shared-memory parallel variants of each fast algorithm, including our novel parallelization scheme. This allows us to rapidly benchmark over 20 fast algorithms on several problem sizes. Furthermore, we discuss a number of practical implementation issues for these algorithms on shared-memory machines that can direct further research on making fast algorithms practical.