首页> 外国专利> Method of compilation optimization using an N-dimensional template for relocated and replicated alignment of arrays in data- parallel programs for reduced data communication during execution

Method of compilation optimization using an N-dimensional template for relocated and replicated alignment of arrays in data- parallel programs for reduced data communication during execution

机译:使用N维模板对数据并行程序中的数组进行重新定位和复制对齐以减少执行期间的数据通信的编译优化方法

摘要

When a data-parallel language like Fortran 90 is compiled for a distributed-memory machine, aggregate data objects (such as arrays) are distributed across the processor memories. The mapping determines the amount of residual communication needed to bring operands of parallel operations into alignment with each other. A common approach is to break the mapping into two stages: first, an alignment that maps all the objects to an abstract template, and then a distribution that maps the template to the processors. This disclosure deals with two facets of the problem of finding alignments that reduce residual communication; namely, alignments that vary in loops, and objects that permit of replicated alignments. It is shown that loop-dependent dynamic alignment is sometimes necessary for optimum performance, and algorithms are provided so that a compiler can determine good dynamic alignments for objects within "do" loops. Also situations are identified in which replicated alignment is either required by the program itself (via spread operations) or can be used to improve performance. An algorithm based on network flow is proposed for determing which objects to replicate so as to minimize the total amount of broadcast communication in replication.
机译:当为分布式内存计算机编译诸如Fortran 90之类的数据并行语言时,聚合数据对象(例如数组)将分布在处理器内存之间。映射确定使并行操作的操作数彼此对齐所需的剩余通信量。一种常见的方法是将映射分为两个阶段:首先是将所有对象映射到抽象模板的对齐,然后是将模板映射到处理器的分发。本公开内容涉及寻找减少残余通信的对准的问题的两个方面。也就是说,循环中的对齐方式有所不同,对象允许重复的对齐方式。结果表明,有时依赖于循环的动态对齐对于最佳性能是必要的,并且提供了算法,以便编译器可以为“ do”循环内的对象确定良好的动态对齐。还可以确定程序本身需要重复对齐(通过扩展操作)或可以用来提高性能的情况。提出了一种基于网络流的算法,用于确定要复制的对象,以最大程度地减少复制中广播通信的总量。

著录项

相似文献

  • 专利
  • 外文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号