TP-openmp/BE_OpenMP_2021/pipelining/aux.h

15 lines
301 B
C
Raw Normal View History

2023-06-22 18:19:48 +00:00
struct {
int i, nr, busy;
} typedef resource;
struct {
int i;
long v;
} typedef data;
long usecs ();
void process_data(data *datas, int d, int s, resource *r);
void init_data(data **datas, resource **resources, int ndatas, int nsteps);
void check_result(data *datas, int ndatas, int nsteps);