Skip to content

Commit 982427e

Browse files
authored
Update ad.jl
1 parent 63c7908 commit 982427e

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
@@ -202,8 +202,8 @@ if INCLUDE_MOONCAKE
202202
push!(ADTYPES, AutoMooncake(; config=nothing))
203203
end
204204
if INCLUDE_ENZYME
205-
push!(ADTYPES, AutoEnzyme(; mode = set_runtime_activity(Forward)))
206-
push!(ADTYPES, AutoEnzyme(; mode = set_runtime_activity(Reverse)))
205+
push!(ADTYPES, AutoEnzyme(; mode = Enzyme.set_runtime_activity(Enzyme.Forward)))
206+
push!(ADTYPES, AutoEnzyme(; mode = Enzyme.set_runtime_activity(Enzyme.Reverse)))
207207
end
208208

209209
# Check that ADTypeCheckContext itself works as expected.

0 commit comments

Comments
 (0)