Skip to content

Commit 25e0b74

Browse files
committed
Update ad.jl
1 parent be50700 commit 25e0b74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ad.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ if INCLUDE_MOONCAKE
200200
push!(ADTYPES, AutoMooncake(; config=nothing))
201201
end
202202
if INCLUDE_ENZYME
203-
push!(ADTYPES, AutoEnzyme(; mode = set_runtime_activity(Forward)))
204-
push!(ADTYPES, AutoEnzyme(; mode = set_runtime_activity(Reverse)))
203+
push!(ADTYPES, AutoEnzyme(; mode = Enzyme.set_runtime_activity(Enzyme.Forward)))
204+
push!(ADTYPES, AutoEnzyme(; mode = Enzyme.set_runtime_activity(Enzyme.Reverse)))
205205
end
206206

207207
# Check that ADTypeCheckContext itself works as expected.

0 commit comments

Comments
 (0)