source: trunk/ADOL-C/src/oplate.h @ 762

Last change on this file since 762 was 762, checked in by mbanovic, 7 months ago

Merged branch "medipacksupport" from "git" into "svn"

The following commits were merged:

commit 0d1b5eec2cca8afdeea3cdffa196efb6cfd60a53
Merge: 72d114b 33bfdb5
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Mon Nov 5 10:03:04 2018 +0000

Merge branch 'medipackSupport' into 'medipacksupport'

Medipack support

See merge request adol-c/adol-c!26

commit 33bfdb5a006c782489bfef1b651ca3bdbceefaf2
Merge: ac55eab cf82982
Author: Max Sagebaum <max.sagebaum@…>
Date: Tue Oct 30 11:19:31 2018 +0100

Merge branch 'medipackSupport' into temp

commit ac55eab9dd8cb8c84926ee56456076392a047c1a
Merge: 72d114b caaac60
Author: Max Sagebaum <max.sagebaum@…>
Date: Tue Oct 30 11:14:09 2018 +0100

Merge remote-tracking branch 'origin/master' into temp

commit cf82982421aaa7d83405ffa3d0c9b6ef88251d0c
Merge: 6aeca20 caaac60
Author: Max Sagebaum <max.sagebaum@…>
Date: Tue Oct 30 11:13:25 2018 +0100

Merge remote-tracking branch 'origin/master' into medipackSupport

commit 6aeca205c2448b4bbc915eb76153ebde19448573
Author: Max Sagebaum <max.sagebaum@…>
Date: Tue Oct 23 22:30:28 2018 +0200

Added suport for ZOS, FOS, FOV forward and reverse.

commit caaac60da4c61b370d106c68064d38c42a7cb6e3
Merge: cc2e0b3 70fc288
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Mon Oct 8 08:53:40 2018 +0000

Merge branch 'fix_adtl_hov_refcntr' into 'master'

Fix undefined reference to adtl_hov::refcounter::refcnt

See merge request adol-c/adol-c!24

commit 70fc288b9ab95b16d3179fcf239ee2208ae1a2c4
Author: Jean-Paul Pelteret <jppelteret@…>
Date: Mon Oct 1 20:53:03 2018 +0200

Fix undefined reference to adtl_hov::refcounter::refcnt

commit cc2e0b3154fb6e62580def4501c4cf3f3d8e32ef
Merge: d7400f5 7c7f24b
Author: Kshitij Kulshreshtha <kshitij@…>
Date: Mon Oct 1 12:26:39 2018 +0000

Merge branch 'docu' into 'master'

Refactor tapeless to traceless

See merge request adol-c/adol-c!23

commit ca397962cde23bde80e03924893e09c84d8728bf
Merge: 9cbc432 d7400f5
Author: Max Sagebaum <max.sagebaum@…>
Date: Fri Sep 28 10:07:41 2018 +0200

Merge remote-tracking branch 'origin/master' into medipackSupport

commit 9cbc4324e0d3e19f97ba5c5474121f0189e60f83
Author: Max Sagebaum <max.sagebaum@…>
Date: Thu Sep 27 14:38:30 2018 +0200

Missing MeDiPack? initialization on trace_on.

commit 76c30290365830d2370a354af949f3bf42df3885
Author: Max Sagebaum <max.sagebaum@…>
Date: Thu Sep 27 09:55:42 2018 +0200

Null pointer fix for initialization.

commit 7c7f24b25479870d58ff19d78a6e394ca28ddb58
Author: mflehmig <martin.schroschk@…>
Date: Thu Sep 20 13:16:06 2018 +0200

Refactor tapeless to traceless

As far as I can see, the official wording is traceless forward mode.
Additonally, the latex label and refs changed to 'traceless'.

commit 72d114b7ac42b8ac493030cedd1df8c9746ba5d4
Author: Max Sagebaum <max.sagebaum@…>
Date: Thu Oct 19 09:25:19 2017 +0200

Added support for MeDiPack? library.

Enable it with the configure options:
--enable-medipack --with-medipack=<path to MeDiPack?>

Tutorial on a how to use will follow.

commit b4ca76279d28407f29901d40953d02a0c5c9140e
Author: Max Sagebaum <max.sagebaum@…>
Date: Mon May 7 14:45:13 2018 +0200

Added support for cbrt function.

commit bc7b8ca61865058fac097410fd94a44fba281131
Author: Max Sagebaum <max.sagebaum@…>
Date: Thu Mar 1 10:31:18 2018 +0100

Changes for new interface.

commit cd1e82778c8540221b24559d5097bf6d00597e19
Author: Max Sagebaum <max.sagebaum@…>
Date: Thu Nov 16 14:31:07 2017 +0100

Changes to new MeDiPack? interface for adjoint values.

commit 55bcb0ffd5a9496817bffac0bd2c9489ed8ce992
Author: Max Sagebaum <max.sagebaum@…>
Date: Thu Oct 19 09:25:19 2017 +0200

Added support for MeDiPack? library.

Enable it with the configure options:
--enable-medipack --with-medipack=<path to MeDiPack?>

Tutorial on a how to use will follow.

  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
Line 
1/*----------------------------------------------------------------------------
2 ADOL-C -- Automatic Differentiation by Overloading in C++
3 File:     oplate.h
4 Revision: $Id: oplate.h 762 2018-12-18 15:36:05Z mbanovic $
5 Contents: Numeric values for the various opcodes used by ADOL-C.
6 
7 Copyright (c) Andrea Walther, Andreas Griewank, Andreas Kowarz,
8               Hristo Mitev, Sebastian Schlenkrich, Jean Utke, Olaf Vogel,
9               Kshitij Kulshreshtha
10 
11 This file is part of ADOL-C. This software is provided as open source.
12 Any use, reproduction, or distribution of the software constitutes
13 recipient's acceptance of the terms of the accompanying license file.
14           
15----------------------------------------------------------------------------*/
16
17#if !defined(ADOLC_OPLATE_P_H)
18#define ADOLC_OPLATE_P_H 1
19
20/****************************************************************************/
21/* opcodes */
22
23enum OPCODES {
24  death_not = 0,
25  assign_ind,
26  assign_dep,
27  assign_a,
28  assign_d,
29  eq_plus_d,
30  eq_plus_a,
31  eq_min_d,
32  eq_min_a,
33  eq_mult_d,
34  eq_mult_a,
35  plus_a_a,
36  plus_d_a,
37  min_a_a,
38  min_d_a,
39  mult_a_a,
40  mult_d_a,
41  div_a_a,
42  div_d_a,
43  exp_op = 19,
44  cos_op,
45  sin_op,
46  atan_op,
47  log_op,
48  pow_op,
49  asin_op,
50  acos_op,
51  sqrt_op,
52  asinh_op,
53  acosh_op,
54  atanh_op,
55  gen_quad = 31,
56  end_of_tape,
57  start_of_tape,
58  end_of_op,
59  end_of_int,
60  end_of_val,
61  cond_assign = 37,
62  cond_assign_s,
63  take_stock_op,
64  assign_d_one,
65  assign_d_zero,
66  incr_a,
67  decr_a,
68  neg_sign_a,
69  pos_sign_a,
70  min_op = 46,
71  abs_val,
72  eq_zero,
73  neq_zero,
74  le_zero,
75  gt_zero,
76  ge_zero,
77  lt_zero,
78  eq_plus_prod = 54,
79  eq_min_prod,
80  erf_op,
81  ceil_op,
82  floor_op,
83  ext_diff = 59,
84  ext_diff_iArr,
85  ignore_me,
86  ext_diff_v2,
87  cond_eq_assign = 63,
88  cond_eq_assign_s,
89  subscript = 80,
90  subscript_ref,
91  ref_assign_d_zero,
92  ref_assign_d_one,
93  ref_assign_d,
94  ref_assign_a,
95  ref_assign_ind,
96  ref_incr_a,
97  ref_decr_a,
98  ref_eq_plus_d,
99  ref_eq_min_d,
100  ref_eq_plus_a,
101  ref_eq_min_a,
102  ref_eq_mult_d,
103  ref_eq_mult_a,
104  ref_copyout,
105  ref_cond_assign,
106  ref_cond_assign_s,
107  assign_p = 98,
108  eq_plus_p,
109  eq_min_p,
110  eq_mult_p,
111  ref_assign_p,
112  ref_eq_plus_p,
113  ref_eq_min_p,
114  ref_eq_mult_p,
115  plus_a_p,
116  min_a_p,
117  mult_a_p,
118  div_p_a,
119  pow_op_p,
120  neg_sign_p,
121  recipr_p,
122  vec_copy,
123  vec_dot,
124  vec_axpy,
125  ref_cond_eq_assign = 116,
126  ref_cond_eq_assign_s,
127  eq_a_p = 119,
128  neq_a_p,
129  le_a_p,
130  gt_a_p,
131  ge_a_p,
132  lt_a_p,
133  eq_a_a = 125,
134  neq_a_a,
135  le_a_a,
136  gt_a_a,
137  ge_a_a,
138  lt_a_a,
139  ampi_send = 131,
140  ampi_recv,
141  ampi_isend,
142  ampi_irecv,
143  ampi_wait,
144  ampi_barrier,
145  ampi_gather,
146  ampi_scatter,
147  ampi_allgather,
148  ampi_gatherv,
149  ampi_scatterv,
150  ampi_allgatherv,
151  ampi_bcast,
152  ampi_reduce,
153  ampi_allreduce,
154  medi_call,
155  cbrt_op
156};
157
158/****************************************************************************/
159#endif
Note: See TracBrowser for help on using the repository browser.