3131
3232# # First order
3333
34- test_differentiation (backends, default_scenarios (); second_order = false , logging= LOGGING);
34+ test_differentiation (backends, default_scenarios (); excluded = SECOND_ORDER , logging= LOGGING);
3535
3636test_differentiation (
3737 backends[1 : 3 ],
3838 default_scenarios (; include_normal= false , include_constantified= true );
39- second_order = false ,
39+ excluded = SECOND_ORDER ,
4040 logging= LOGGING,
4141);
4242
4343test_differentiation (
4444 duplicated_backends,
4545 default_scenarios (; include_normal= false , include_closurified= true );
46- second_order = false ,
46+ excluded = SECOND_ORDER ,
4747 logging= LOGGING,
4848);
4949
@@ -54,8 +54,8 @@ test_differentiation(
5454 AutoEnzyme(; mode=Enzyme.Forward), # TODO : add more
5555 default_scenarios(; include_batchified=false);
5656 correctness=false,
57- type_stability=true ,
58- second_order=false ,
57+ type_stability=:prepared ,
58+ excluded=SECOND_ORDER ,
5959 logging=LOGGING,
6060);
6161=#
@@ -65,27 +65,24 @@ test_differentiation(
6565test_differentiation (
6666 AutoEnzyme (),
6767 default_scenarios (; include_constantified= true );
68- first_order = false ,
68+ excluded = FIRST_ORDER ,
6969 logging= LOGGING,
7070);
7171
7272test_differentiation (
7373 AutoEnzyme (; mode= Enzyme. Forward);
74- first_order= false ,
75- excluded= [:hessian , :hvp ],
74+ excluded= vcat (FIRST_ORDER, [:hessian , :hvp ]),
7675 logging= LOGGING,
7776);
7877
7978test_differentiation (
8079 AutoEnzyme (; mode= Enzyme. Reverse);
81- first_order= false ,
82- excluded= [:second_derivative ],
80+ excluded= vcat (FIRST_ORDER, [:second_derivative ]),
8381 logging= LOGGING,
8482);
8583
8684test_differentiation (
8785 SecondOrder (AutoEnzyme (; mode= Enzyme. Reverse), AutoEnzyme (; mode= Enzyme. Forward));
88- first_order= false ,
8986 logging= LOGGING,
9087);
9188
0 commit comments