首页> 外文会议>International Workshop on Implementation and Application of Functional Languages >On Optimising Shape-Generic Array Programs Using Symbolic Structural Information
【24h】

On Optimising Shape-Generic Array Programs Using Symbolic Structural Information

机译:使用符号结构信息优化形状通用阵列程序

获取原文

摘要

Shape-generic programming and high run time performance do match if generic source code is systematically specialised into nongeneric executable code. However, as soon as we drop the assumption of whole-world knowledge or refrain from specialisation for other reasons, compiled generic code is substantially less efficient. Limited effectiveness of code optimisation techniques due to the inherent lack of knowledge about the structural properties of arrays can be identified as the single most important source of inefficiency. However, in many cases partial structural information or structural relationships between arrays would actually suffice for optimisation. We propose symbolic array attributes as a uniform scheme to infer and to represent partial and relational structural information in shape-generic array code. By reusing the regular language to express structural properties in intermediate code, existing optimisations benefit from symbolic array attributes with little or no alteration. In fact, program optimisation and identification of structural properties cross-fertilise each other. We outline our approach in the context of the functional array language SaC and demonstrate its effectiveness by a small case study.
机译:如果使用通用源代码系统地专用成Nongeneric可执行代码,则匹配形状通用编程和高运行时间性能。但是,一旦我们放弃了全球知识的假设或避免专业化出于其他原因,编译的通用代码基本上效率较低。代码优化技术的有限效力由于关于阵列结构特性的固有知识而导致的额度缺乏知识可以被识别为单一的效率效率最重要的来源。然而,在许多情况下,阵列之间的部分结构信息或结构关系实际上足以优化。我们将符号数组属性提出作为推断的统一方案,并在形状通用数组代码中表示局部和关系结构信息。通过重用常规语言来表达中间代码中的结构性属性,现有的优化从符号数组属性中受益匪浅或没有更改。事实上,方案优化和结构性能识别彼此交叉施肥。我们在功能阵列语言囊的上下文中概述了我们的方法,并通过小案研究展示其有效性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号