首页 | 本学科首页   官方微博 | 高级检索  
     

基于SIMD机器的优化数据传输的并行循环分割
引用本文:林进,张兆庆,祝明发.基于SIMD机器的优化数据传输的并行循环分割[J].计算机学报,1998,21(7):577-585.
作者姓名:林进  张兆庆  祝明发
作者单位:中国科学院计算技术研究所,北京,100080
摘    要:本文提出一个基于分布式局存的SIMD机器的循环分割理论体系以优化运算中所需要的数据传输。该体系使用矩阵表示迭代空间、数据空间和数组存取式。我们引入数据传输概念,并建立一个简单有效的数据传输模型来评估数据在全局内存和局部内存之间的传输开销。最后,对于给定的循环嵌套,我们给出一个循环分割算法以获得优化循环块,使得循环嵌套中所需要的数据传输开销最小,并且大大减少了数据传输和计算的同步开销。实验结果证明了

关 键 词:循环分割  数据传输  SIMD机器  程序设计
修稿时间:1997年6月25日

PARALLEL LOOP PARTITIONING OPTIMIZED FOR DATA TRANSFER ON SIMD MACHINES
LIN Jin,ZHANG Zhao-qing,ZHU Ming-fa.PARALLEL LOOP PARTITIONING OPTIMIZED FOR DATA TRANSFER ON SIMD MACHINES[J].Chinese Journal of Computers,1998,21(7):577-585.
Authors:LIN Jin  ZHANG Zhao-qing  ZHU Ming-fa
Abstract:This paper presents a theoretical framework for automatically partitioning parallel loops to optimize the data movement on SIMD machines with distributed internal memory and global external memory. The framework uses matrix to represent iteration mapping, data mapping and array references. A system model is presented to characterize the SIMD machine. First, the data movement functions supplied by run-time system are analyzed to provide a good hasis for studying automatic loop and data partitioning. Then we introduce the notion of data footprints and build a simple but accurate data movement model to evaluate the overhead of the data movement between global external memory and distributed internal memory for the footprint. Based on the data movement model . this paper presents an algorithm to derive an optimal loop partitioning to minimize the number of data movement in the loop nest and optimize the synchronization between computation and data movement. These ideas are adopted in the design and implementation of a parallelizing C compiler targeted on the SIMD machine. The experimental results demonstrate that the optimal loop and data partitioning greatly reduce the overhead of data movement and improve the performance of many programs.
Keywords:Loop partitioning  footprint  data movement  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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