...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Blocking and Array Contraction Across Arbitrarily Nested Loops Using Affine Partitioning
【24h】

Blocking and Array Contraction Across Arbitrarily Nested Loops Using Affine Partitioning

机译:使用仿射分区跨任意嵌套循环的块和数组收缩

获取原文
获取原文并翻译 | 示例

摘要

Applicable to arbitrary sequences and nests of loops, affine partitioning is a program transformation framework that unifies many previously proposed loop transformations, including unimodular transforms, fusion, fission, reindexing, scaling and statement reordering. Algorithms based on affine partitioning have been shown to be effective for parallelization and communication minimization. This paper presents algorithms that improve data locality using affine partitioning. Blocking and array contraction are two important optimizations that have been shown to be useful for data locality. Blocking creates a set of inner loops so that data brought into the faster levels of the memory hierarchy can be reused. Array contraction reduces an array to a scalar variable and thereby reduces the number of memory operations executed and the memory footprint. Loop transforms are often necessary to make blocking and array contraction possible. By bringing the full generality of affine partitioning to bear on the problem, our locality algorithm can find more contractable arrays than previously possible. This paper also generalizes the concept of blocking and shows that affine partitioning allows the benefits of blocking be realized in arbitrarily nested loops. Experimental results on a number of benchmarks and a complete multigrid application in aeronautics indicates that affine partitioning is effective in practice.
机译:仿射分割适用于任意序列和循环嵌套,是一种程序转换框架,可以统一许多以前提出的循环转换,包括单模转换,融合,裂变,重新索引,缩放和语句重新排序。已经证明基于仿射划分的算法对于并行化和通信最小化是有效的。本文提出了使用仿射分割提高数据局部性的算法。阻塞和数组收缩是两个重要的优化方法,已被证明对数据局部性很有用。阻塞会创建一组内部循环,以便带入更快的内存层次结构的数据可以重复使用。数组收缩将数组减少为标量变量,从而减少了执行的内存操作数量和内存占用量。为了使分块和数组收缩成为可能,循环转换通常是必需的。通过使仿射分区的全部通用性解决这个问题,我们的局部性算法可以找到比以前更多的可收缩数组。本文还对阻塞的概念进行了概括,并表明仿射分区允许在任意嵌套的循环中实现阻塞的好处。在许多基准上的实验结果以及在航空领域的完整多网格应用表明,仿射划分在实践中是有效的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号