Skip to content

Commit

Permalink
Update lib/EnzymeCore/src/EnzymeCore.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume Dalle <[email protected]>
  • Loading branch information
wsmoses and gdalle authored Sep 27, 2024
1 parent 99bf3b3 commit 6056cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/EnzymeCore/src/EnzymeCore.jl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ dout[]
```
For example, marking the out variable as `DuplicatedNoNeed` instead of `Duplicated` allows
Enzyme to avoid computing `v * v`.
Enzyme to avoid computing `v * v` (while still computing its derivative).
This should only be used if `x` is a write-only variable. Otherwise, if the differentiated
function stores values in `x` and reads them back in subsequent computations, using
Expand Down

0 comments on commit 6056cc4

Please sign in to comment.