首页> 中文期刊> 《计算机科学》 >基于主导值的计算和数据自动划分算法

基于主导值的计算和数据自动划分算法

         

摘要

计算和数据自动划分是并行化编译中一种自动分配计算和数据到各个处理机的优化技术,划分的结果直接影响程序并行的性能.数组是划分处理的主要对象之一,一些数组分布后的收益不高,但带来的并行约束却能对其它数组的划分产生干扰,导致大量数据重分布通信的产生.现有的划分算法中没有约定数组分布的优先次序,因此无法限制这些数组并行约束的传播,降低了优化编译器后端自动生成并行代码的性能.提出了一种基于主导值的计算和数据自动划分算法:将划分过程中数组对程序并行性的影响量化为主导值,并依据主导值的大小约定数组分布的优先次序,限制干扰数组并行约束的传播速度,提高划分结果的合理性.实验结果表明,算法能够获得良好的划分效果.%Automatic computation and data decomposition are an optimization technique that distributes computations and data onto different processors. The decomposition result has a direct impact on the performance of program's parallelization. Array is one of main targets of treatment for the decomposition algorithm, and some profits of them are not e-nough after parallelization, but it will bring constraints and disrupt the other distribution of array, leading to large a-mounts communication of data re-distributioa The decomposition algorithm in existing has no agreement in the order of array distribution,therefore can't restrict propagation of constraint of array's parallelization,reducing performance of optimized parallel code automatically generated by the back-end compiler. This paper presented an automatic computation and data decomposition based on the dominant values. Algorithm quantified the impact of array on the programs' parallelism as the dominant value,and agreed priorities of distribution based on the size of the dominant values of array, limited the spread speed of constraints of interference array, improved the reasonableness of decomposition results. Experimental results show that the algorithm can get good decomposition results.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号