X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f7bfc7f9646c3f1c3b350a78b2fae5a35ea939f7..9f4593d014139381fd8977a84e76f0094fb2fac8:/src/smpi/colls/colls.h diff --git a/src/smpi/colls/colls.h b/src/smpi/colls/colls.h index ee51cacf82..4495b4d9ba 100644 --- a/src/smpi/colls/colls.h +++ b/src/smpi/colls/colls.h @@ -20,6 +20,22 @@ #define COLL_NOsep #define COLL_NOTHING(...) +/************* + * GATHER * + *************/ +#define COLL_GATHER_SIG gather, int, \ + (void *send_buff, int send_count, MPI_Datatype send_type, \ + void *recv_buff, int recv_count, MPI_Datatype recv_type, \ + int root, MPI_Comm comm) + +#define COLL_GATHERS(action, COLL_sep) \ +COLL_APPLY(action, COLL_GATHER_SIG, ompi) COLL_sep \ +COLL_APPLY(action, COLL_GATHER_SIG, ompi_basic_linear) COLL_sep \ +COLL_APPLY(action, COLL_GATHER_SIG, ompi_binomial) COLL_sep \ +COLL_APPLY(action, COLL_GATHER_SIG, ompi_linear_sync) \ + + +COLL_GATHERS(COLL_PROTO, COLL_NOsep) /************* * ALLGATHER *