首页> 外文会议>International conference on automatic differentiation >Code Optimization Techniques in Source Transformations for Interpreted Languages
【24h】

Code Optimization Techniques in Source Transformations for Interpreted Languages

机译:解释语言源转换中的代码优化技巧

获取原文

摘要

A common approach to implement automatic differentiation (AD) is based on source-to-source transformation. In contrast to the standard case in mathematical software that is concerned with compiled languages, AD for interpreted languages is considered. Here, techniques to improve code performance are introduced in transformations on a high-level rather than by an optimizing compiler carrying out these transformations on a lower-level intermediate representation. The languages Matlab and CapeML are taken as examples to demonstrate these issues and quantify performance differences of codes generated by the AD tools ADiMat and ADiCape using the five code optimization techniques constant folding, loop unrolling, constant propagation, forward substitution, and common subexpression elimination.
机译:实现自动分化(AD)的常见方法是基于源极转换。与涉及编译语言的数学软件中的标准案例相比,考虑了用于解释语言的广告。这里,提高代码性能的技术在高级的转换中引入了转换,而不是通过在较低级别的中间表示上执行这些变换的优化编译器。语言MATLAB和CAPEML被视为示例,以演示这些问题,并使用五个代码优化技术常量折叠,循环展开,恒定传播,前进替换和常见的子表达消除来展示广告工具和adicape所产生的代码的性能差异。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号