X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9d7537a900d7a00156eda13f5fd6ec26b10eb242..e1e50fa3f7c4b7b6bcb94dba4d4032f4d69260b9:/src/smpi/private.h diff --git a/src/smpi/private.h b/src/smpi/private.h index 642ddee771..11a8933e7b 100644 --- a/src/smpi/private.h +++ b/src/smpi/private.h @@ -82,6 +82,7 @@ typedef struct s_smpi_mpi_request { void smpi_process_init(int *argc, char ***argv); void smpi_process_destroy(void); void smpi_process_finalize(void); +int smpi_process_finalized(void); smpi_process_data_t smpi_process_data(void); smpi_process_data_t smpi_process_remote_data(int index); @@ -114,7 +115,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 +136,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 +212,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);