@@ -1063,9 +1063,9 @@ pub(crate) unsafe fn enzyme_rust_forward_diff(
1063
1063
1064
1064
EnzymeCreateForwardDiff (
1065
1065
logic_ref, // Logic
1066
- fnc,
1067
1066
ptr:: null ( ) ,
1068
1067
ptr:: null ( ) ,
1068
+ fnc,
1069
1069
ret_activity, // LLVM function, return type
1070
1070
input_activity. as_ptr ( ) ,
1071
1071
input_activity. len ( ) , // constant arguments
@@ -1127,9 +1127,9 @@ pub(crate) unsafe fn enzyme_rust_reverse_diff(
1127
1127
1128
1128
EnzymeCreatePrimalAndGradient (
1129
1129
logic_ref, // Logic
1130
- fnc,
1131
1130
ptr:: null ( ) ,
1132
1131
ptr:: null ( ) ,
1132
+ fnc,
1133
1133
ret_activity, // LLVM function, return type
1134
1134
input_activity. as_ptr ( ) ,
1135
1135
input_activity. len ( ) , // constant arguments
@@ -2824,9 +2824,9 @@ pub enum CDerivativeMode {
2824
2824
extern "C" {
2825
2825
fn EnzymeCreatePrimalAndGradient < ' a > (
2826
2826
arg1 : EnzymeLogicRef ,
2827
- todiff : & ' a Value ,
2828
2827
builderCtx : * const u8 , // &'a Builder<'_>,
2829
2828
callerCtx : * const u8 , // &'a Value,
2829
+ todiff : & ' a Value ,
2830
2830
retType : CDIFFE_TYPE ,
2831
2831
constant_args : * const CDIFFE_TYPE ,
2832
2832
constant_args_size : size_t ,
@@ -2849,9 +2849,9 @@ extern "C" {
2849
2849
extern "C" {
2850
2850
fn EnzymeCreateForwardDiff < ' a > (
2851
2851
arg1 : EnzymeLogicRef ,
2852
- todiff : & ' a Value ,
2853
2852
builderCtx : * const u8 , // &'a Builder<'_>,
2854
2853
callerCtx : * const u8 , // &'a Value,
2854
+ todiff : & ' a Value ,
2855
2855
retType : CDIFFE_TYPE ,
2856
2856
constant_args : * const CDIFFE_TYPE ,
2857
2857
constant_args_size : size_t ,
0 commit comments