Expression templates for primal value taping in the reverse mode of algorithmic differentiation

Expression templates for primal value taping in the reverse mode of algorithmic differentiation
复制标题

算法微分反向模式下原始值编带的表达式模板

DOI:
10.1080/10556788.2018.1471140
复制
发表时间:
2018
影响因子:
2.2
通讯作者:
N. Gauger
N. Gauger
中科院分区:
工程技术3区
文献类型:
--
作者:
M. Sagebaum;Tim Albring;N. Gauger

文献摘要

参考文献

被引文献

相似文献

摘要算法差分(AD)的反向模式可以通过几种方式实现。主要的选择是原始值记录与雅可比记录、托管索引与非托管索引以及操作员级别记录与语句级别记录。目前的大多数AD工具只实现了八种可能选择中的一种,实现的数据管理增加了另一个复杂层次。本文的重点是原始价值记录在报表层面的实现。与操作员级别记录相比,语句级记录消除了在AD磁带上创建中间值的需要,从而减少了内存。将在AD工具CoDiPack中对托管和非托管索引进行实施。原始值录制与语句级录制尚未在任何其他AD工具中实现,因此,我们将分析录制方法的特性,并强调有效实施的重要细节。此外,CoDiPack中所有现有的记录方法都将与新的原始值记录方法进行比较。在多物理套件SU2中的一个简单玩具问题和一个功能齐全的计算流体力学解算器上进行了比较。
ABSTRACT The reverse mode of Algorithmic Differentiation (AD) can be implemented in several ways. The major choices are primal value taping vs. Jacobian taping, managed indices vs. unmanaged indices and operator level taping vs. statement level taping. Most of the current AD tools have implemented only one of the eight possible choices, and the data management of the implementation adds another complexity hierarchy. The focus in this paper is the implementation of primal value taping on a statement level. Statement level taping removes the need to create intermediate values on the AD tape which results in reduced memory compared to operator level taping. The implementation will be done for managed and unmanaged indices in the AD tool CoDiPack. Primal value taping with statement level taping has not yet been implemented in any other AD tool, thus we will analyse the properties of the taping approaches and highlight the important details for an efficient implementation. Furthermore, all existing taping approaches in CoDiPack will be compared with the new primal value taping approach. The comparison have been conducted on a simple toy problem and a fully featured computational fluid dynamics solver in the multi-physics suite SU2.
DOI: 10.1145/2560359
发表时间: 2014-06-01
影响因子: 2.7
作者:
Hogan, Robin J.
通讯作者: Hogan, Robin J.