A Mixed Approach to Adjoint Computation with Algorithmic Differentiation - Inria - Institut national de recherche en sciences et technologies du numérique
Conference Papers Year : 2016

A Mixed Approach to Adjoint Computation with Algorithmic Differentiation

Abstract

Various algorithmic differentiation tools have been developed and applied to large-scale simulation software for physical phenomena. Until now, two strictly disconnected approaches have been used to implement algorithmic differentiation (AD), namely, source transformation and operator overloading. This separation was motivated by different features of the programming languages such as Fortran and C++. In this work we have for the first time combined the two approaches to implement AD for C++ codes. Source transformation is used for core routines that are repetitive, where the transformed source can be optimized much better by modern compilers, and operator overloading is used to interconnect at the upper level, where source transformation is not possible because of complex language constructs of C++. We have also devised a method to apply the mixed approach in the same application semi-automatically. We demonstrate the benefit of this approach using some real-world applications.
Fichier principal
Vignette du fichier
447583_1_En_31_Chapter.pdf (403.53 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-01626882 , version 1 (31-10-2017)

Licence

Identifiers

Cite

Kshitij Kulshreshtha, Sri Narayanan, Tim Albring. A Mixed Approach to Adjoint Computation with Algorithmic Differentiation. 27th IFIP Conference on System Modeling and Optimization (CSMO), Jun 2015, Sophia Antipolis, France. pp.331-340, ⟨10.1007/978-3-319-55795-3_31⟩. ⟨hal-01626882⟩
77 View
120 Download

Altmetric

Share

More