File tree Expand file tree Collapse file tree 1 file changed +7
-18
lines changed
lib/NonlinearSolveBase/src Expand file tree Collapse file tree 1 file changed +7
-18
lines changed Original file line number Diff line number Diff line change 33
44# Ordering is important here. We want to select the first one that is compatible with the
55# problem.
6- # XXX : Remove this once Enzyme is properly supported on Julia 1.11+
7- @static if VERSION ≥ v " 1.11-"
8- const ReverseADs = (
9- ADTypes. AutoZygote (),
10- ADTypes. AutoTracker (),
11- ADTypes. AutoReverseDiff (),
12- ADTypes. AutoEnzyme (; mode = EnzymeCore. Reverse),
13- ADTypes. AutoFiniteDiff ()
14- )
15- else
16- const ReverseADs = (
17- ADTypes. AutoEnzyme (; mode = EnzymeCore. Reverse),
18- ADTypes. AutoZygote (),
19- ADTypes. AutoTracker (),
20- ADTypes. AutoReverseDiff (),
21- ADTypes. AutoFiniteDiff ()
22- )
23- end
6+ const ReverseADs = (
7+ ADTypes. AutoEnzyme (; mode = EnzymeCore. Reverse),
8+ ADTypes. AutoZygote (),
9+ ADTypes. AutoTracker (),
10+ ADTypes. AutoReverseDiff (),
11+ ADTypes. AutoFiniteDiff ()
12+ )
2413
2514const ForwardADs = (
2615 ADTypes. AutoPolyesterForwardDiff (),
You can’t perform that action at this time.
0 commit comments