14 #ifndef SION_SION_OMP_CB_GEN_H
15 #define SION_SION_OMP_CB_GEN_H
22 typedef struct _omp_api_commdata_struct _omp_api_commdata;
23 struct _omp_api_commdata_struct {
29 int _sion_register_callbacks_omp(
void);
31 int _sion_omp_create_lcg_cb(
void **local_commgroup,
void *global_commgroup,
34 int filenumber,
int numfiles
36 int _sion_omp_free_lcg_cb(
void *local_commgroup);
39 int _sion_omp_barrier_cb(
void *commdata);
40 int _sion_omp_bcastr_cb(
void *data,
void *commdata,
int dtype,
int nelem,
int root);
41 int _sion_omp_gatherr_cb(
void *indata,
void *outdata,
void *commdata,
int dtype,
int nelem,
int root);
42 int _sion_omp_scatterr_cb(
void *indata,
void *outdata,
void *commdata,
int dtype,
int nelem,
int root);
43 int _sion_omp_gathervr_cb(
void *indata,
void *outdata,
void *commdata,
int dtype,
int *counts,
int nelem,
int root);
44 int _sion_omp_scattervr_cb(
void *indata,
void *outdata,
void *commdata,
int dtype,
int *counts,
int nelem,
int root);
58 int _sion_omp_gather_process_cb(
const void *indata, sion_int64 *spec,
int spec_len, sion_int64 fsblksize,
59 void *commdata,
int collector,
int range_start,
int range_end,
int sid,
60 int process_cb(
const void *,sion_int64 *,
int ) );
62 int _sion_omp_process_scatter_cb(
void *outdata, sion_int64 *spec,
int spec_len, sion_int64 fsblksize,
63 void *commdata,
int collector,
int range_start,
int range_end,
int sid,
64 int process_cb(
void *,sion_int64 *,
int ) );
66 int _sion_omp_get_capability_cb(
void *commdata );