Search NASA⌕ Search

DOE OSTI · 971129

Comparison of two activity analyses : context-sensitive flow-insensitive vs. context-insensitive flow-sensitive.

Abstract

Automatic differentiation (AD) is a family of techniques to generate derivative code from a mathematical model expressed in a programming language. AD computes partial derivatives for each operation in the input code and combines them to produce the desired derivative by applying the chain rule. Activity analysis is a compiler analysis used to find active variables in automatic differentiation. By lifting the burden of computing partial derivatives for passive variables, activity analysis can reduce the memory requirement and run time of the generated derivative code. This paper compares a new context-sensitive flow-insensitive (CSFI) activity analysis with an existing context-insensitive flow-sensitive (CIFS) activity analysis in terms of execution time and the quality of the analysis results. Our experiments with eight benchmarks show that the new CSFI activity analysis runs up to 583 times faster and overestimates up to 18.5 times fewer active variables than does the existing CIFS activity analysis.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Shin, J, Hovland, P D. 2007-01-01. Comparison of two activity analyses : context-sensitive flow-insensitive vs. context-insensitive flow-sensitive.. https://searchnasa.com/record/osti%3A971129/comparison-of-two-activity-analyses-context-sensitive-flow-insensitive-vs-context-insensitive-flow-s

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.

KEEP EXPLORING

Related reports

Fire Protection Design

The purpose of this project is to design the demolition and installation of a deluge valve swap from a DV-5 to a DV-5A valve.

99 GENERAL AND MISCELLANEOUS↗