Skip to content

Commit

Permalink
change order
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSiebert1 committed Nov 8, 2024
1 parent 3c79a7e commit 03ea6c6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion ADOL-C/src/fo_rev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1483,8 +1483,8 @@ int int_reverse_safe(
case asinh_op: /* asinh_op */
case acosh_op: /* acosh_op */
case atanh_op: /* atanh_op */
case erfc_op: /* erfc_op */
case erf_op: /* erf_op */
case erfc_op: /* erfc_op */
res = get_locint_r();
arg2 = get_locint_r();
arg1 = get_locint_r();
Expand Down
30 changes: 15 additions & 15 deletions ADOL-C/src/oplate.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
/* opcodes */

enum OPCODES {
death_not = 0,
death_not,
assign_ind,
assign_dep,
assign_a,
Expand All @@ -40,7 +40,7 @@ enum OPCODES {
mult_d_a,
div_a_a,
div_d_a,
exp_op = 19,
exp_op,
cos_op,
sin_op,
atan_op,
Expand All @@ -52,13 +52,13 @@ enum OPCODES {
asinh_op,
acosh_op,
atanh_op,
gen_quad = 31,
gen_quad,
end_of_tape,
start_of_tape,
end_of_op,
end_of_int,
end_of_val,
cond_assign = 37,
cond_assign,
cond_assign_s,
take_stock_op,
assign_d_one,
Expand All @@ -67,26 +67,27 @@ enum OPCODES {
decr_a,
neg_sign_a,
pos_sign_a,
min_op = 46,
min_op,
abs_val,
eq_zero,
neq_zero,
le_zero,
gt_zero,
ge_zero,
lt_zero,
eq_plus_prod = 54,
eq_plus_prod,
eq_min_prod,
erf_op,
erfc_op,
ceil_op,
floor_op,
ext_diff = 59,
ext_diff,
ext_diff_iArr,
ignore_me,
ext_diff_v2,
cond_eq_assign = 63,
cond_eq_assign,
cond_eq_assign_s,
subscript = 80,
subscript,
subscript_ref,
ref_assign_d_zero,
ref_assign_d_one,
Expand All @@ -104,7 +105,7 @@ enum OPCODES {
ref_copyout,
ref_cond_assign,
ref_cond_assign_s,
assign_p = 98,
assign_p,
eq_plus_p,
eq_min_p,
eq_mult_p,
Expand All @@ -122,21 +123,21 @@ enum OPCODES {
vec_copy,
vec_dot,
vec_axpy,
ref_cond_eq_assign = 116,
ref_cond_eq_assign,
ref_cond_eq_assign_s,
eq_a_p = 119,
eq_a_p,
neq_a_p,
le_a_p,
gt_a_p,
ge_a_p,
lt_a_p,
eq_a_a = 125,
eq_a_a,
neq_a_a,
le_a_a,
gt_a_a,
ge_a_a,
lt_a_a,
ampi_send = 131,
ampi_send,
ampi_recv,
ampi_isend,
ampi_irecv,
Expand All @@ -153,7 +154,6 @@ enum OPCODES {
ampi_allreduce,
medi_call,
cbrt_op,
erfc_op
};

/****************************************************************************/
Expand Down

0 comments on commit 03ea6c6

Please sign in to comment.