We present a specialized constant folding algorithm to decrease the size of the combinatorial problem in order to increase the efficiency of heuristics for its solution.
Jacobian accumulation, linearities, constant folding
To our knowledge general-purpose compilers do not perform this kind of extended static constant folding analysis.
We present new algorithms for the optimality-preserving elimination of linearities in Jacobian accumulation by constant folding.
One can argue that code optimization via constant propagation and constant folding algorithms built into compilers is already capable of optimizing [*.
Reduction of the problem size through constant folding in G
The application of the constant folding to seu graphs is a theoretical exercise as the optimal solution is constructed and does not require a search space reduction.
1 we introduce the format of the output graph generated by OpenAD (5) and we illustrate the effect of constant folding at the level of local partial derivatives.
Constant folding as presented here is implemented in the OpenAD (7) framework of the Adjoint Compiler Technology & Standards (ACTS) project.