DOE OSTI · 1001571
Design and implementation of a context-sensitive, flow-sensitive activity analysis algorithm for automatic differentiation.
Abstract
Automatic differentiation (AD) has been expanding its role in scientific computing. While several AD tools have been actively developed and used, a wide range of problems remain to be solved. Activity analysis allows AD tools to generate derivative code for fewer variables, leading to a faster run time of the output code. This paper describes a new context-sensitive, flow-sensitive (CSFS) activity analysis, which is developed by extending an existing context-sensitive, flow-insensitive (CSFI) activity analysis. Our experiments with eight benchmarks show that the new CSFS activity analysis is more than 27 times slower but reduces 8 overestimations for the MIT General Circulation Model (MITgcm) and 1 for an ODE solver (c2) compared with the existing CSFI activity analysis implementation. Although the number of reduced overestimations looks small, the additionally identified passive variables may significantly reduce tedious human effort in maintaining a large code base such as MITgcm.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Shin, J, Malusare, P, Hovland, P D. 2008-01-01. Design and implementation of a context-sensitive, flow-sensitive activity analysis algorithm for automatic differentiation.. https://doi.org/10.1007/978-3-540-68942-3_11. https://searchnasa.com/record/osti%3A1001571/design-and-implementation-of-a-context-sensitive-flow-sensitive-activity-analysis-algorithm-for-auto
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search NASA by Indiciae: BibTeX · RIS.