arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1409.2908cs.DCcs.MScs.NAmath.NA
收藏

实用平行快速矩阵乘法的框架

A Framework for Practical Parallel Fast Matrix Multiplication

Stanford University(斯坦福大学);Sandia National Laboratories(桑迪亚国家实验室)

Austin R. Benson, Grey Ballard

AI总结:

本文提出一个框架,展示新型快速矩阵乘法算法在中等规模问题上优于传统算法和Strassen算法,同时探讨矩阵形状对算法选择的影响,并开发代码生成工具实现多种并行变体。

摘要:

矩阵乘法是许多科学领域中的基本计算。本文展示新型快速矩阵乘法算法在中等规模问题上显著优于传统算法和Strassen的快速算法。此外,最佳快速算法的选择不仅取决于矩阵大小,还取决于问题形状。我们开发了一个代码生成工具,自动实现每种快速算法的多个顺序和共享内存并行变体,包括我们提出的并行化方案。这使我们能够快速在多个问题规模上评估超过20种快速算法。此外,我们讨论了这些算法在共享内存机器上的实际实现问题,以指导进一步的研究,使快速算法更具实用性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑