https://gitlab.inria.fr/cado-nfs/cado-nfs
Raw File
Tip revision: b0795d85dd65d5365c3308ae1a2966403bb7878a authored by Pierrick Gaudry on 14 February 2013, 14:48:36 UTC
at work here
Tip revision: b0795d8
report.h
// data structure for reporting actions during the merge; in standard mode
// (say mono proc), this is just a wrap around for a FILE; otherwise,
// it can be used to register things in an array that will be examined and
// flushed from time to time. See the MPI version for more.
typedef struct{
    char type;
    // '0' for the standard stuff
    FILE *outfile;
    // '1' for MPI
    int32_t **history;
    int mark;
    int bufsize; // says it!
} report_t;

extern void init_rep(report_t *rep, char *outname, filter_matrix_t *mat, int type, int bufsize);
extern void report1(report_t *rep, int32_t i, int32_t j);
extern void report2(report_t *rep, int32_t i1, int32_t i2, int32_t j);
extern void reportn(report_t *rep, int32_t *ind, int n, int32_t j);
back to top