Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 19, 2024
1 parent 17b3960 commit 149c428
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions projects/activity_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ description: |
to Symbolic differentiation and Numerical differentiation (the method of
finite differences).
Clad is a source transformation based AD tool which can perform more advanced
program optimization by implementing more sophisticated analyses because it
has access to a rich program representation – the Clang AST. These optimizations
program optimization by implementing more sophisticated analyses because it
has access to a rich program representation – the Clang AST. These optimizations
investigate which parts of the computation graph are relevant for the AD rules.
One such optimization is the To-Be-Recorded optimization which reduces the memory
pressure to the clad tape data structure. TBR analysis is a part of an adjoint
mode of AD. It finds variables whose present value is used in a derivative
instruction and reduces the number of statements by not creating temporary variables
for dependent variables that are being overwritten and not being used. Another
optimization is the activity analysis optimization which discards all statements
which are irrelevant for the generated code. That is, if the statements do not
One such optimization is the To-Be-Recorded optimization which reduces the memory
pressure to the clad tape data structure. TBR analysis is a part of an adjoint
mode of AD. It finds variables whose present value is used in a derivative
instruction and reduces the number of statements by not creating temporary variables
for dependent variables that are being overwritten and not being used. Another
optimization is the activity analysis optimization which discards all statements
which are irrelevant for the generated code. That is, if the statements do not
depend on the input/output variables of a routine in a differentiable way, they are
ignored. The advantage is that this improves the performance of the generated code
and reduces the phase space of features needed to be supported to enable
and reduces the phase space of features needed to be supported to enable
differentiable STL, for example.
contacts:
- name: Maksym Andriichuk
Expand Down

0 comments on commit 149c428

Please sign in to comment.