首页> 中文期刊>软件学报 >基于嵌套循环分类的并行识别技术

基于嵌套循环分类的并行识别技术

     

摘要

Existing distributed memory parallelizing compiler systems are mostly developed based on shared systems. The parallelism recognition technologies of shared memory parallelizing compiler systems are suitable for OpenMP code generation. Their implementation is used to recognize all nested loops by the same technology, so that the parallelism cannot be efficiently explored when applying them to distributed memory parallelizing compiler systems. Thus, this paper proposes some parallelism recognition technologies suitable for the MPI code generation for distributed memory parallelizing compiler systems by classifying the nested loops according to their structures. To solve these problems, a new classification method of nested loops is proposed, according to the structure of nested loops and characteristics of MPI parallel program. Corresponding parallelism recognition technologies for different nested loops are also presented, respectively. The experimental results show that compared with the distributed memory parallelizing compiler systems that used existing parallelism recognition technologies, the compiler systems, which use the proposed classification method and the corresponding recognition technologies, can more efficiently recognize parallel nested loops in the benchmark programs, and the performance speedup of the MPI codes automatically increased to more than 20%.%传统的分布存储并行编译系统大多是在共享存储并行编译系统的基础上开发的.共享存储并行编译系统的并行识别技术适合OpenMP代码生成,实现方式是将所有嵌套循环都按照相同的识别方法进行处理,用于分布存储并行编译系统必然会导致无法高效发掘程序的并行性.分布存储并行编译系统应根据嵌套循环结构的特点进行分类处理,提出适合MPI代码生成的并行识别技术.为解决上述问题,根据嵌套循环的结构和MPI并行程序的特点,提出了一种新的嵌套循环分类方法,并针对不同的嵌套循环分别提出了相应的并行识别技术.实验结果表明,与采用传统并行识别技术的分布存储并行编译系统相比,按照所提方法对嵌套循环进行分类,采用相应并行识别技术的编译系统能够更高效地识别基准程序中的并行循环,自动生成的MPI并行代码其性能加速比提高了20%以上.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号