面向异构系统的语义感知转换工具链
Towards a Semantics-Aware Transformation Toolchain for Heterogeneous Systems
摘要:
在对异构计算平台进行编程时获得良好的性能对程序员提出了重大挑战。我们提出了一个程序转换环境,在Haskell中实现,其中架构不可知的科学C代码与语义注释转换成功能等效的代码更适合于给定的平台。转换步骤被形式化(和实现)为规则,当满足某些语法和语义条件时,可以触发这些规则。这些条件将由程序属性来满足,这些属性可以自动推断,或者作为源代码中的注释来声明。规则选择可以由从机器学习过程导出的逻辑来引导,该逻辑试图捕获运行时特性(例如,资源消耗或性能)受到转换步骤的影响。
英文摘要:
Obtaining good performance when programming heterogeneous computing platforms poses significant challenges for the programmer. We present a program transformation environment, implemented in Haskell, where architecture-agnostic scientific C code with semantic annotations is transformed into functionally equivalent code better suited for a given platform. The transformation steps are formalized (and implemented) as rules which can be fired when certain syntactic and semantic conditions are met. These conditions are to be fulfilled by program properties which can be automatically inferred or, alternatively, stated as annotations in the source code. Rule selection can be guided by heuristics derived from a machine learning procedure which tries to capture how run-time characteristics (e.g., resource consumption or performance) are affected by the transformation steps.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。