File tree Expand file tree Collapse file tree
DifferentiationInterface/test/Back/Enzyme Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363end
6464
6565@testset " Second order" begin
66+ test_differentiation (
67+ AutoEnzyme (),
68+ default_scenarios (; include_constantified = true , include_cachified = true );
69+ excluded = vcat (FIRST_ORDER, :hvp , :hessian ),
70+ logging = LOGGING,
71+ )
72+
73+ test_differentiation (
74+ # TODO : replace with AutoEnzyme() when https://github.com/EnzymeAD/Enzyme.jl/issues/2854 is fixed
75+ SecondOrder (
76+ AutoEnzyme (; mode = Enzyme. set_runtime_activity (Enzyme. Forward)),
77+ AutoEnzyme (; mode = Enzyme. set_runtime_activity (Enzyme. Reverse))
78+ ),
79+ default_scenarios (; include_constantified = true , include_cachified = true );
80+ excluded = vcat (FIRST_ORDER, :second_derivative ),
81+ logging = LOGGING,
82+ )
83+
6684 test_differentiation (
6785 [
68- AutoEnzyme (),
6986 SecondOrder (
7087 AutoEnzyme (; mode = Enzyme. Reverse), AutoEnzyme (; mode = Enzyme. Forward)
7188 ),
You can’t perform that action at this time.
0 commit comments