首页> 外文会议>International conference on interactive theorem proving >Mostly Automated Formal Verification of Loop Dependencies with Applications to Distributed Stencil Algorithms
【24h】

Mostly Automated Formal Verification of Loop Dependencies with Applications to Distributed Stencil Algorithms

机译:循环依赖关系的大多数形式化自动验证及其在分布式模板算法中的应用

获取原文

摘要

The class of stencil programs involves repeatedly updating elements of arrays according to fixed patterns, referred to as stencils. Stencil problems are ubiquitous in scientific computing and are used as an ingredient to solve more involved problems. Their high regularity allows massive parallelization. Two important challenges in designing such algorithms are cache efficiency and minimizing the number of communication steps between nodes. In this paper, we introduce a mathematical framework for a crucial aspect of formal verification of both sequential and distributed stencil algorithms, and we describe its Coq implementation. We present a domain-specific embedded programming language with support for automating the most tedious steps of proofs that nested loops respect dependencies, applicable to sequential and distributed examples. Finally, we evaluate the robustness of our library by proving the dependency-correctness of some real-world stencil algorithms, including a state-of-the-art cache-oblivious sequential algorithm, as well as two optimized distributed kernels.
机译:模板程序的类别涉及根据固定的模式(称为模板)重复更新数组的元素。模版问题在科学计算中无处不在,并用作解决更多涉及问题的要素。它们的高规则性允许大规模并行化。设计此类算法的两个重要挑战是缓存效率和最大限度地减少节点之间的通信步骤数量。在本文中,我们为顺序和分布式模板算法的形式验证的关键方面介绍了一个数学框架,并描述了其Coq实现。我们提供了一种特定于领域的嵌入式编程语言,该语言支持自动执行嵌套循环遵守相关性的最繁琐的证明步骤,适用于顺序和分布式示例。最后,我们通过证明一些现实世界中的模板算法(包括最新的高速缓存可忽略的顺序算法)以及两个优化的分布式内核的依赖关系正确性,来评估库的鲁棒性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号