X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/14c4d40b625501275e7ec6eccd6f92f659316f85..bf1edfe6e3a70b02a0032a3fceb7863f0117d069:/src/smpi/private.h diff --git a/src/smpi/private.h b/src/smpi/private.h index 45cdf61b71..651841cdd0 100644 --- a/src/smpi/private.h +++ b/src/smpi/private.h @@ -26,6 +26,7 @@ typedef struct s_smpi_process_data *smpi_process_data_t; #define RECV_DELETE 0x10 #define ISEND 0x20 #define SSEND 0x40 +#define PREPARED 0x80 // this struct is here to handle the problem of non-contignous data // for each such structure these function should be implemented (vector // index hvector hindex struct) @@ -156,6 +157,7 @@ void smpi_op_apply(MPI_Op op, void *invec, void *inoutvec, int *len, MPI_Datatype * datatype); MPI_Group smpi_group_new(int size); +MPI_Group smpi_group_copy(MPI_Group origin); void smpi_group_destroy(MPI_Group group); void smpi_group_set_mapping(MPI_Group group, int index, int rank); int smpi_group_index(MPI_Group group, int rank); @@ -172,6 +174,8 @@ int smpi_comm_size(MPI_Comm comm); void smpi_comm_get_name(MPI_Comm comm, char* name, int* len); int smpi_comm_rank(MPI_Comm comm); MPI_Comm smpi_comm_split(MPI_Comm comm, int color, int key); +void smpi_comm_use(MPI_Comm comm); +void smpi_comm_unuse(MPI_Comm comm); MPI_Request smpi_mpi_send_init(void *buf, int count, MPI_Datatype datatype, int dst, int tag, MPI_Comm comm); @@ -252,6 +256,8 @@ void smpi_mpi_allreduce(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); void smpi_mpi_scan(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); +void smpi_mpi_exscan(void *sendbuf, void *recvbuf, int count, + MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); void nary_tree_bcast(void *buf, int count, MPI_Datatype datatype, int root, MPI_Comm comm, int arity);