【24h】

A Unified Framework for Schedule and Storage Optimization

机译:计划和存储优化的统一框架

获取原文

摘要

We present a unified mathematical framework for analyzing the tradeoffs between parallelism and storage allocation within a parallelizing compiler. Using this framework, we show how to find a good storage mapping for a given schedule, a good schedule for a given storage mapping, and a good storage mapping that is valid for all legal schedules. We consider storage mappings that collapse one dimension of a multi-dimensional array, and programs that are in a single assignment form with a one-dimensional schedule. Our technique combines affine scheduling techniques with occupancy vector analysis and incorporates general affine dependences across statements and loop nests. We formulate the constraints imposed by the data dependences and storage mappings as a set of linear inequalities, and apply numerical programming techniques to efficiently solve for the shortest occupancy vector. We consider our method to be a first step towards automating a procedure that finds the optimal tradeoff between parallelism and storage space.
机译:我们提出了一个统一的数学框架,用于分析并行化编译器中的并行性与存储分配之间的折衷。使用此框架,我们展示了如何为给定的时间表找到良好的存储映射,为给定的存储映射找到良好的时间表以及对所有合法时间表均有效的良好的存储映射。我们考虑折叠多维数组一维的存储映射,以及具有一维计划的单一分配形式的程序。我们的技术将仿射调度技术与占用向量分析相结合,并在语句和循环嵌套之间合并了一般仿射依赖。我们将数据依赖性和存储映射所施加的约束公式化为一组线性不等式,并应用数值编程技术来有效求解最短的占用向量。我们认为我们的方法是使过程自动化的第一步,该过程可以在并行性和存储空间之间找到最佳平衡。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号