X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3080c6b0d097d6b3b7d5b3dda0592154ce438f64..ee7b47470d3505cae5bde076c270f36c58c8ad6a:/src/smpi/private.h diff --git a/src/smpi/private.h b/src/smpi/private.h index fe8c16ad2d..8e9ce16fdf 100644 --- a/src/smpi/private.h +++ b/src/smpi/private.h @@ -49,6 +49,7 @@ typedef struct s_smpi_subtype{ } s_smpi_subtype_t; typedef struct s_smpi_mpi_datatype{ + char* name; size_t size; /* this let us know if a serialization is required*/ size_t has_subtype; @@ -173,6 +174,7 @@ void print_request(const char *message, MPI_Request request); int smpi_enabled(void); void smpi_global_init(void); void smpi_global_destroy(void); +double smpi_mpi_wtime(void); int is_datatype_valid(MPI_Datatype datatype); @@ -183,6 +185,8 @@ MPI_Datatype smpi_datatype_dup(MPI_Datatype datatype); int smpi_datatype_extent(MPI_Datatype datatype, MPI_Aint * lb, MPI_Aint * extent); MPI_Aint smpi_datatype_get_extent(MPI_Datatype datatype); +void smpi_datatype_get_name(MPI_Datatype datatype, char* name, int* length); +void smpi_datatype_set_name(MPI_Datatype datatype, char* name); int smpi_datatype_copy(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype); @@ -473,6 +477,10 @@ void mpi_info_set_( int *info, char *key, char *value, int* ierr); void mpi_info_free_(int* info, int* ierr); void mpi_get_( int *origin_addr, int* origin_count, int* origin_datatype, int* target_rank, MPI_Aint* target_disp, int* target_count, int* target_datatype, int* win, int* ierr); +void mpi_put_( int *origin_addr, int* origin_count, int* origin_datatype, int* target_rank, + MPI_Aint* target_disp, int* target_count, int* target_datatype, int* win, int* ierr); +void mpi_accumulate_( int *origin_addr, int* origin_count, int* origin_datatype, int* target_rank, + MPI_Aint* target_disp, int* target_count, int* target_datatype, int* op, int* win, int* ierr); void mpi_error_string_(int* errorcode, char* string, int* resultlen, int* ierr); void mpi_sendrecv_(void* sendbuf, int* sendcount, int* sendtype, int* dst, int* sendtag, void *recvbuf, int* recvcount,