...
首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >PolyCheck: Dynamic Verification of Iteration Space Transformations on Affine Programs
【24h】

PolyCheck: Dynamic Verification of Iteration Space Transformations on Affine Programs

机译:PolyCheck:仿射程序上迭代空间转换的动态验证

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

摘要

High-level compiler transformations, especially loop transformations, are widely recognized as critical optimizations to restructure programs to improve data locality and expose parallelism. Guaranteeing the correctness of program transformations is essential, and to date three main approaches have been developed: proof of equivalence of affine programs, matching the execution traces of programs, and checking bit-by-bit equivalence of program outputs. Each technique suffers from limitations in the kind of transformations supported, space complexity, or the sensitivity to the testing dataset. In this paper, we take a novel approach that addresses all three limitations to provide an automatic bug checker to verify any iteration reordering transformations on affine programs, including non-affine transformations, with space consumption proportional to the original program data and robust to arbitrary datasets of a given size. We achieve this by exploiting the structure of affine program control- and data-flow to generate at compile-time lightweight checker code to be executed within the transformed program. Experimental results assess the correctness and effectiveness of our method and its increased coverage over previous approaches.
机译:高级编译器转换(尤其是循环转换)被公认为是对程序进行重组以提高数据局部性和公开并行性的关键优化。确保程序转换的正确性至关重要,迄今为止,已开发出三种主要方法:仿射程序的等效性证明,匹配程序的执行轨迹以及检查程序输出的逐位等效性。每种技术都受支持的转换类型,空间复杂性或对测试数据集敏感性的限制。在本文中,我们采用一种新颖的方法来解决所有三个限制,以提供一个自动错误检查程序,以验证仿射程序上的任何迭代重新排序转换,包括非仿射转换,其空间消耗与原始程序数据成比例,并且对任意数据集均具有鲁棒性给定大小的。我们通过利用仿射程序控制和数据流的结构在编译时生成要在转换后的程序中执行的轻量级检查器代码来实现此目的。实验结果评估了我们方法的正确性和有效性,以及它在以前方法中的覆盖范围。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号