计算机工程与应用 ›› 2007, Vol. 43 ›› Issue (8): 74-77.
• 学术探讨 • 上一篇 下一篇
张平 李清宝 赵荣彩
收稿日期:
修回日期:
出版日期:
发布日期:
通讯作者:
Received:
Revised:
Online:
Published:
摘要: 针对分布内存结构的并行化将串行程序转变为在各处理节点上运行的SPMD并行程序,节点程序包含该节点所执行的运算和与其它节点交换信息的通信操作。讨论了在已知数据分解和计算划分的前提下生成分布内存结构下的消息传递并行程序的算法,以Lam提出的线性不等式基本框架为基础,在Paraguin工作基础上进行了有效的改进:第一在代码生成算法中引入了数据分布;第二将处理器空间由一维扩展到多维;第三将虚拟处理器到物理处理器的映射关系引入代码生成算法,从而减少了节点间通信的数量,提高了生成并行代码的性能。
Abstract: In parallelisation for distributed_memory architecture, the sequential program is transformed to SPMD program to run on each computing node. Each node program consists of computing and communication code. In this paper, algorithm for automatic message passing code generation is discussed given data and compute decomposition. The algorithm is based on the framework of linear inequalities systems. It improves the work of Paraguin project by introducing data decomposition into the algorithm of code generation, extending processor space from one dimension to multitude dimensions and introducing the map function of virtual processors to physical processors into the linear inequalities system
张平 李清宝 赵荣彩. 消息传递并行程序的自动生成[J]. 计算机工程与应用, 2007, 43(8): 74-77.
0 / 推荐
导出引用管理器 EndNote|Ris|BibTeX
链接本文: http://cea.ceaj.org/CN/
http://cea.ceaj.org/CN/Y2007/V43/I8/74