【24h】

Regions

机译:地区

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

摘要

Most array languages, including Fortran 90, Matlab, and APL, provide support for referencing arrays by extending the traditional array subscripting construct found in scalar languages. We present an alternative to subscripting that exploits the concept of regions---an index set representation that can be named, manipulated with high-level operators, and syntactically separated from array references. This paper develops the concept of region-based programming and describes its benefits in the context of an idealized array language called RL. We show that regions simplify programming, reduce the likelihood of errors, and enable code reuse. Furthermore, we describe how regions accentuate the locality of array expressions and how this locality is important when targeting parallel computers. We also show how the concepts of region-based programming have been used in ZPL, a fully-implemented practical parallel programming language in use by scientists and engineers. In addition, we contrast region-based programming with the array reference constructs of other array languages.
机译:包括Fortran 90,Matlab和APL在内的大多数数组语言都通过扩展标量语言中的传统数组下标构造来提供对数组的引用支持。我们提出了一种利用 regions 的概念来进行下标的替代方法-一种索引集表示形式,可以对其进行命名,使用高级运算符对其进行操作,并在语法上与数组引用分离。本文提出了基于区域的编程概念,并在称为 RL的理想化数组语言的背景下描述了其优点。我们证明了区域简化了编程,减少了出错的可能性,并实现了代码重用。此外,我们描述了区域如何强调数组表达式的局部性以及在以并行计算机为目标时局部性的重要性。我们还将展示如何在ZPL中使用基于区域的编程概念,ZPL是科学家和工程师使用的一种完全实现的实用并行编程语言。此外,我们将基于区域的编程与其他数组语言的数组引用构造进行了对比。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号