X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9d7537a900d7a00156eda13f5fd6ec26b10eb242..da41b147264c6eb7febc5be6cfb2380eab69ba70:/src/smpi/private.h diff --git a/src/smpi/private.h b/src/smpi/private.h index 642ddee771..156337f827 100644 --- a/src/smpi/private.h +++ b/src/smpi/private.h @@ -114,7 +114,7 @@ void smpi_datatype_use(MPI_Datatype type); void smpi_datatype_unuse(MPI_Datatype type); int smpi_datatype_contiguous(int count, MPI_Datatype old_type, - MPI_Datatype* new_type); + MPI_Datatype* new_type, MPI_Aint lb); int smpi_datatype_vector(int count, int blocklen, int stride, MPI_Datatype old_type, MPI_Datatype* new_type); @@ -135,6 +135,7 @@ void smpi_datatype_commit(MPI_Datatype* datatype); void smpi_empty_status(MPI_Status * status); MPI_Op smpi_op_new(MPI_User_function * function, int commute); +int smpi_op_is_commute(MPI_Op op); void smpi_op_destroy(MPI_Op op); void smpi_op_apply(MPI_Op op, void *invec, void *inoutvec, int *len, MPI_Datatype * datatype); @@ -210,6 +211,8 @@ void smpi_mpi_barrier(MPI_Comm comm); void smpi_mpi_gather(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm); +void smpi_mpi_reduce_scatter(void *sendbuf, void *recvbuf, int *recvcounts, + MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); void smpi_mpi_gatherv(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcounts, int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm);