Skip to Main content Skip to Navigation
Reports

The Tapenade Automatic Differentiation tool: principles, model, and specification

Laurent Hascoët 1 Valérie Pascual 1 
1 TROPICS - Program transformations for scientific computing
CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : Tapenade is an Automatic Differentiation tool which, given a Fortran or C code that computes a function, creates a new code that computes its tangent or adjoint derivatives. Tapenade puts particular emphasis on adjoint differentiation, which computes gradients at a remarkably low cost. This paper describes the principles of Tapenade, a subset of the general principles of AD. We motivate and illustrate on examples the AD model of Tapenade, i.e. the structure of differentiated codes and the strategies used to make them more efficient. Along with this informal description, we formally specify this model by means of Data-Flow Equations and rules of Operational Semantics, making this the reference specification of the tangent and adjoint modes of Tapenade. One benefit we expect from this formal specification is the capacity to study formally the AD model itself, especially for the adjoint mode and its sophisticated strategies. This paper also describes the architectural choices of the implementation of Tapenade. We describe the current performances of Tapenade on a set of codes that include industrial-size applications. We present the extensions of the tool that are planned in a foreseeable future, deriving from our ongoing research on AD.
Document type :
Reports
Complete list of metadata

Cited literature [3 references]  Display  Hide  Download

https://hal.inria.fr/hal-00695839
Contributor : Valérie Pascual Connect in order to contact the contributor
Submitted on : Monday, May 14, 2012 - 4:37:24 PM
Last modification on : Friday, February 4, 2022 - 3:24:20 AM
Long-term archiving on: : Friday, November 30, 2012 - 11:40:09 AM

File

RR-7957.pdf
Publisher files allowed on an open archive

Identifiers

  • HAL Id : hal-00695839, version 1

Collections

Citation

Laurent Hascoët, Valérie Pascual. The Tapenade Automatic Differentiation tool: principles, model, and specification. [Research Report] RR-7957, INRIA. 2012, pp.53. ⟨hal-00695839⟩

Share

Metrics

Record views

246

Files downloads

275