Changeset 290 for trunk/ADOL-C


Ignore:
Timestamp:
Jan 16, 2012 6:45:01 AM (8 years ago)
Author:
kulshres
Message:

add missing arguments to ext_fct calls

Signed-off-by: Kshitij Kulshreshtha <kshitij@…>

Location:
trunk/ADOL-C/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ADOL-C/src/checkpointing.cpp

    r197 r290  
    3737int cp_fos_forward (int n, double *dp_x, double *dp_X,
    3838                    int m, double *dp_y, double *dp_Y);
    39 int cp_fov_forward (int n, double *dp_x, double **dpp_X,
     39int cp_fov_forward (int n, double *dp_x, int p, double **dpp_X,
    4040                    int m, double *dp_y, double **dpp_Y);
    41 int cp_hos_forward (int n, double *dp_x, double **dpp_X,
     41int cp_hos_forward (int n, double *dp_x, int d, double **dpp_X,
    4242                    int m, double *dp_y, double **dpp_Y);
    43 int cp_hov_forward (int n, double *dp_x, double ***dppp_X,
     43int cp_hov_forward (int n, double *dp_x, int d, int p, double ***dppp_X,
    4444                    int m, double *dp_y, double ***dppp_Y);
    4545int cp_fos_reverse (int m, double *dp_U, int n, double *dp_Z);
    46 int cp_fov_reverse (int m, double **dpp_U, int n, double **dpp_Z);
    47 int cp_hos_reverse (int m, double *dp_U, int n, double **dpp_Z);
    48 int cp_hov_reverse (int m, double **dpp_U, int n, double ***dppp_Z,
     46int cp_fov_reverse (int m, int p, double **dpp_U, int n, double **dpp_Z);
     47int cp_hos_reverse (int m, double *dp_U, int n, int d, double **dpp_Z);
     48int cp_hov_reverse (int m, int p, double **dpp_U, int n, int d, double ***dppp_Z,
    4949                    short **spp_nz);
    5050void cp_takeshot(CpInfos *cpInfos);
     
    283283}
    284284
    285 int cp_fov_forward (int n, double *dp_x, double **dpp_X,
     285int cp_fov_forward (int n, double *dp_x, int p,  double **dpp_X,
    286286                    int m, double *dp_y, double **dpp_Y) {
    287287    printf("WARNING: Checkpointing algorithm not "
     
    290290}
    291291
    292 int cp_hos_forward (int n, double *dp_x, double **dpp_X,
     292int cp_hos_forward (int n, double *dp_x, int d, double **dpp_X,
    293293                    int m, double *dp_y, double **dpp_Y) {
    294294    printf("WARNING: Checkpointing algorithm not "
     
    297297}
    298298
    299 int cp_hov_forward (int n, double *dp_x, double ***dppp_X,
     299int cp_hov_forward (int n, double *dp_x, int d, int p, double ***dppp_X,
    300300                    int m, double *dp_y, double ***dppp_Y) {
    301301    printf("WARNING: Checkpointing algorithm not "
     
    402402}
    403403
    404 int cp_fov_reverse (int m, double **dpp_U, int n, double **dpp_Z) {
     404int cp_fov_reverse (int m, int p, double **dpp_U, int n, double **dpp_Z) {
    405405    ADOLC_OPENMP_THREAD_NUMBER;
    406406    ADOLC_OPENMP_GET_THREAD_NUMBER;
     
    505505}
    506506
    507 int cp_hos_reverse (int m, double *dp_U, int n, double **dpp_Z) {
     507int cp_hos_reverse (int m, double *dp_U, int n, int d, double **dpp_Z) {
    508508    printf("WARNING: Checkpointing algorithm not "
    509509           "implemented for the hos_reverse mode!\n");
     
    511511}
    512512
    513 int cp_hov_reverse (int m, double **dpp_U, int n, double ***dppp_Z,
     513int cp_hov_reverse (int m, int p, double **dpp_U, int n, int d, double ***dppp_Z,
    514514                    short **spp_nz) {
    515515    printf("WARNING: Checkpointing algorithm not "
  • trunk/ADOL-C/src/externfcts.h

    r106 r290  
    3434    int (*fos_forward) (int n, double *dp_x, double *dp_X,
    3535                        int m, double *dp_y, double *dp_Y);
    36     int (*fov_forward) (int n, double *dp_x, double **dpp_X,
     36    int (*fov_forward) (int n, double *dp_x, int p, double **dpp_X,
    3737                        int m, double *dp_y, double **dpp_Y);
    38     int (*hos_forward) (int n, double *dp_x, double **dpp_X,
     38    int (*hos_forward) (int n, double *dp_x, int d, double **dpp_X,
    3939                        int m, double *dp_y, double **dpp_Y);
    40     int (*hov_forward) (int n, double *dp_x, double ***dppp_X,
     40    int (*hov_forward) (int n, double *dp_x, int d, int p, double ***dppp_X,
    4141                        int m, double *dp_y, double ***dppp_Y);
    4242
    4343    int (*fos_reverse) (int m, double *dp_U,
    4444                        int n, double *dp_Z);
    45     int (*fov_reverse) (int m, double **dpp_U,
     45    int (*fov_reverse) (int m, int p, double **dpp_U,
    4646                        int n, double **dpp_Z);
    4747    int (*hos_reverse) (int m, double *dp_U,
    48                         int n, double **dpp_Z);
    49     int (*hov_reverse) (int m, double **dpp_U,
    50                         int n, double ***dppp_Z,
     48                        int n, int d, double **dpp_Z);
     49    int (*hov_reverse) (int m, int p, double **dpp_U,
     50                        int n, int d, double ***dppp_Z,
    5151                        short **spp_nz);
    5252
  • trunk/ADOL-C/src/fo_rev.c

    r277 r290  
    336336# define ADOLC_EXT_FCT_POINTER fov_reverse
    337337# define ADOLC_EXT_FCT_COMPLETE \
    338   fov_reverse(m, edfct->dpp_U, n, edfct->dpp_Z)
     338    fov_reverse(m, p, edfct->dpp_U, n, edfct->dpp_Z)
    339339# define ADOLC_EXT_FCT_SAVE_NUMDIRS ADOLC_CURRENT_TAPE_INFOS.numDirs_rev = nrows
    340340#endif
  • trunk/ADOL-C/src/uni5_for.c

    r287 r290  
    853853#   define ADOLC_EXT_FCT_POINTER fov_forward
    854854#   define ADOLC_EXT_FCT_COMPLETE \
    855     fov_forward(n, edfct->dp_x, edfct->dpp_X, m, edfct->dp_y, edfct->dpp_Y)
     855    fov_forward(n, edfct->dp_x, p, edfct->dpp_X, m, edfct->dp_y, edfct->dpp_Y)
    856856#   define ADOLC_EXT_POINTER_X edfct->dpp_X
    857857#   define ADOLC_EXT_POINTER_Y edfct->dpp_Y
Note: See TracChangeset for help on using the changeset viewer.