X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/15a2c29a775316eba1298b52b84c4d22b190b334..da62b5cbd53ece70108a4f0eba4757e75f3dc00a:/src/smpi/colls/colls.h?ds=sidebyside diff --git a/src/smpi/colls/colls.h b/src/smpi/colls/colls.h index 55be878d14..12627c06c8 100644 --- a/src/smpi/colls/colls.h +++ b/src/smpi/colls/colls.h @@ -227,4 +227,20 @@ COLL_APPLY(action, COLL_REDUCE_SCATTER_SIG, ompi_ring) COLL_REDUCE_SCATTERS(COLL_PROTO, COLL_NOsep) + +/************* + * REDUCE_SCATTER * + *************/ +#define COLL_SCATTER_SIG scatter, int, \ + (void *sendbuf, int sendcount, MPI_Datatype sendtype,\ + void *recvbuf, int recvcount, MPI_Datatype recvtype,\ + int root, MPI_Comm comm) + +#define COLL_SCATTERS(action, COLL_sep) \ +COLL_APPLY(action, COLL_SCATTER_SIG, ompi) COLL_sep \ +COLL_APPLY(action, COLL_SCATTER_SIG, ompi_basic_linear) COLL_sep \ +COLL_APPLY(action, COLL_SCATTER_SIG, ompi_binomial) + +COLL_SCATTERS(COLL_PROTO, COLL_NOsep) + #endif