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.
Document type :
Conference papers
Complete list of metadatas

https://hal.inria.fr/hal-01626882
Contributor : Hal Ifip <>
Submitted on : Tuesday, October 31, 2017 - 2:39:58 PM
Last modification on : Friday, August 2, 2019 - 3:36:05 PM
Long-term archiving on : Thursday, February 1, 2018 - 1:22:59 PM

File

447583_1_En_31_Chapter.pdf
Files produced by the author(s)

Licence


Distributed under a Creative Commons Attribution 4.0 International License

Identifiers

Citation

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⟩

Share

Metrics

Record views

67

Files downloads

204