首页 | 官方网站   微博 | 高级检索  
     

自动并行化中不规则循环的通信代码生成
引用本文:傅立国,姚 远,丁 锐.自动并行化中不规则循环的通信代码生成[J].计算机应用,2014,34(4):1014-1018.
作者姓名:傅立国  姚 远  丁 锐
作者单位:1. 数学工程与先进计算国家重点实验室,郑州 450001 2. 信息工程大学,郑州 450001;
基金项目:“核高基”国家科技重大专项
摘    要:不规则计算在大规模并行应用中广泛存在。在面向分布存储结构的自动并行化过程中,较难在编译时为不规则循环生成并行代码。并行代码中的通信代码对程序运行结果的正确性以及加速效果有着严重的影响。通过分析程序的数组重分布图,使用部分冗余的通信方式来维持不规则数组访问的生产者消费者关系,可以在编译时为一类常见的不规则循环自动生成有效的通信代码。该方法使用计算分解和数组引用的访问表达式求解不规则数组在各处理器的本地定义集作为通信的数据集,分析针对此类不规则循环划分的通信策略,继而生成相应的通信代码。实验测试的结果取得了预期的加速效果,验证了方法的有效性。

关 键 词:自动并行化  不规则循环  不规则数组  计算分解  部分冗余
收稿时间:2013-09-29
修稿时间:2013-12-16

Communication code generation for automatic parallelization of irregular loops
FU LiGuo YAO Yuan DING Rui.Communication code generation for automatic parallelization of irregular loops[J].journal of Computer Applications,2014,34(4):1014-1018.
Authors:FU LiGuo YAO Yuan DING Rui
Affiliation:1. Information Engineering University, Zhengzhou Henan 450001, China
2. State Key Laboratory of Mathematical Engineering and Advanced Computing, Zhengzhou Henan 450001, China
Abstract:Irregular computing exists in large scale parallel application widely and the automatic parallelization on distributed memory is hardly to generate parallel code for irregular loops at compile-time. The communication code of the parallel code influences the correctness and the efficiency to the runout of the program. It could automatically generate useful communication code for a common class of irregular loops at compile-time by using the approach of partial communication redundancy, that needed analyzing the array redistribution graph of the program to maintain the producer-consumer relation of irregular array references. The approach searched the local definition set of the irregular array on each processor by computation decomposition and accessed expression of array references as the communication data set, then analyzed the communication strategies for such irregular loops and generated the corresponding communication code. The experimental results show the validity of the approach and the expectant speedup of test applications.
Keywords:
本文献已被 CNKI 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号