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 d634e38 commit ce08d69Copy full SHA for ce08d69
test/ad.jl
@@ -205,8 +205,20 @@ if INCLUDE_MOONCAKE
205
push!(ADTYPES, AutoMooncake(; config=nothing))
206
end
207
if INCLUDE_ENZYME
208
- push!(ADTYPES, AutoEnzyme(; mode=Enzyme.set_runtime_activity(Enzyme.Forward)))
209
- push!(ADTYPES, AutoEnzyme(; mode=Enzyme.set_runtime_activity(Enzyme.Reverse)))
+ push!(
+ ADTYPES,
210
+ AutoEnzyme(;
211
+ mode=Enzyme.set_runtime_activity(Enzyme.Forward),
212
+ function_annotation=Enzyme.Const,
213
+ ),
214
+ )
215
216
217
218
+ mode=Enzyme.set_runtime_activity(Enzyme.Reverse),
219
220
221
222
223
224
# Check that ADTypeCheckContext itself works as expected.
0 commit comments