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.
Enzyme.autodiff_deferred
1 parent 3ecd47a commit ecd7b09Copy full SHA for ecd7b09
test/compiler.jl
@@ -21,7 +21,7 @@ IPUCompiler.PROGRESS_SPINNER[] = false
21
22
include("common.jl")
23
24
-∂(f, x) = first(first(autodiff_deferred(Reverse, f, Active(x))))
+∂(f, x) = first(first(autodiff_deferred(Reverse, Const(f), Active, Active(x))))
25
26
# Define a non-const variable which will lead to a reference to a literal pointer in the IR
27
# of a codelet below.
0 commit comments