arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1812.06329cs.NI
收藏

异构处理器平台上矩阵乘法的分层划分

Layer Based Partition for Matrix Multiplication on Heterogeneous Processor Platforms

Yang Liu, Li Shi, Junwei Zhang, Thomas G. Robertazzi

摘要:

虽然已经提出了许多方法来分析矩阵乘法并行计算的问题,他们很少解决异构处理器平台上的问题。它仍然是一个悬而未决的问题,异构处理器平台上找到最佳的调度,平衡异构处理器集内的负载,同时最大限度地减少通信量。大量的研究都是基于矩形剖分的,而矩形剖分作为基础的最优性还没有得到很好的证明。在本文中,我们提出了一种新的方法,调度矩阵乘法异构处理器平台上的混合协同设计的目标,最大限度地减少总的通信量和乘法完成时间。我们首先提出了我们的基于层的分区(LBP)方法的模式。随后,我们证明了我们的方法保证最小的通信量,这是小于矩形分区可以达到。我们进一步分析了最小化任务完成时间的问题,考虑到网络拓扑结构。我们在单邻居网络和多邻居网络的情况下解决了这个问题。在单邻居网络的情况下,我们提出了一种基于等式的方法来解决LBP,仿真结果表明,总的通信量从矩形划分的下限减少了75%。在多邻居网络的情况下,我们将LBP问题转化为一个混合规划问题,并通过仿真将总通信量减少了81%。总之,这是一个很有前途的解决异构处理器平台上的矩阵乘法问题的前景。

英文摘要:

While many approaches have been proposed to analyze the problem of matrix multiplication parallel computing, few of them address the problem on heterogeneous processor platforms. It still remains an open question on heterogeneous processor platforms to find the optimal schedule that balances the load within the heterogeneous processor set while minimizing the amount of communication. A great many studies are based on rectangular partition, whereas the optimality of rectangular partition as the basis has not been well justified. In this paper, we propose a new method that schedules matrix multiplication on heterogeneous processor platforms with the mixed co-design goal of minimizing the total communication volume and the multiplication completion time. We first present the schema of our layer based partition (LBP) method. Subsequently, we demonstrate that our approach guarantees minimal communication volume, which is smaller than what rectangular partition can reach. We further analyze the problem of minimizing the task completion time, with network topologies taken into account. We solve this problem in both single-neighbor network case and multi-neighbor network case. In single-neighbor network cases, we propose an equality based method to solve LBP, and simulation shows that the total communication volume is reduced by 75% from the lower bound of rectangular partition. In multi-neighbor network cases, we formulate LBP as a Mixed Integer Programming problem, and reduce the total communication volume by 81% through simulation. To summarize, this is a promising perspective of tackling matrix multiplication problems on heterogeneous processor platforms.

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

↑