We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 307c1d1 commit d0163a0Copy full SHA for d0163a0
test/ad.jl
@@ -203,8 +203,20 @@ if INCLUDE_MOONCAKE
203
push!(ADTYPES, AutoMooncake(; config=nothing))
204
end
205
if INCLUDE_ENZYME
206
- push!(ADTYPES, AutoEnzyme(; mode=Enzyme.set_runtime_activity(Enzyme.Forward)))
207
- push!(ADTYPES, AutoEnzyme(; mode=Enzyme.set_runtime_activity(Enzyme.Reverse)))
+ push!(
+ ADTYPES,
208
+ AutoEnzyme(;
209
+ mode=Enzyme.set_runtime_activity(Enzyme.Forward),
210
+ function_annotation=Enzyme.Const,
211
+ ),
212
+ )
213
214
215
216
+ mode=Enzyme.set_runtime_activity(Enzyme.Reverse),
217
218
219
220
221
222
# Check that ADTypeCheckContext itself works as expected.
0 commit comments