arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1902.02104cs.DCcs.MS
收藏

基于Strassen的快速$A^t A$并行乘法

Fast Strassen-based $A^t A$ Parallel Multiplication

Viviana Arrigoni, Annalisa Massini

摘要:

矩阵乘法$A^t A$作为一种中间运算出现在许多问题的求解过程中。本文提出了一种新的$A^t A$乘法的高速缓存无关算法。我们的算法A $\scriptstyle \mathsf{T}$ A调用经典的Strassen算法作为子例程,将传统的$A^t A$乘法的计算成本%(以执行的产品的数量表示)降低到$\frac{2}{7}n^{\log_2 7}$。它适用于一般的矩形矩阵,并利用所得乘积矩阵的特殊对称性来节省内存。我们使用MPI范例来并行实现A $\scriptstyle \mathsf{T}$ A,并在Galileo集群的一小部分节点上测试其性能。实验结果表明,该通信系统具有良好的可扩展性和加速性,同时所设计的通信系统中交换的消息数最少。在测试的配置中,并行开销和固有的顺序时间分数可以忽略不计。

英文摘要:

Matrix multiplication $A^t A$ appears as intermediate operation during the solution of a wide set of problems. In this paper, we propose a new cache-oblivious algorithm for the $A^t A$ multiplication. Our algorithm, A$\scriptstyle \mathsf{T}$A, calls classical Strassen's algorithm as sub-routine, decreasing the computational cost %(expressed in number of performed products) of the conventional $A^t A$ multiplication to $\frac{2}{7}n^{\log_2 7}$. It works for generic rectangular matrices and exploits the peculiar symmetry of the resulting product matrix for sparing memory. We used the MPI paradigm to implement A$\scriptstyle \mathsf{T}$A in parallel, and we tested its performances on a small subset of nodes of the Galileo cluster. Experiments highlight good scalability and speed-up, also thanks to minimal number of exchanged messages in the designed communication system. Parallel overhead and inherently sequential time fraction are negligible in the tested configurations.

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

↑