Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add mpi_info support for rma calls
[simgrid.git] / src / smpi / private.h
index 0ea0f25..c9b7b8d 100644 (file)
@@ -128,6 +128,7 @@ typedef struct s_smpi_mpi_type_key_elem *smpi_type_key_elem;
 
 typedef struct s_smpi_mpi_info {
   xbt_dict_t info_dict;
+  int refcount;
 } s_smpi_mpi_info_t; 
 
 
@@ -240,6 +241,9 @@ void smpi_datatype_create(MPI_Datatype* new_type, int size,int lb, int ub, int h
 void smpi_datatype_free(MPI_Datatype* type);
 void smpi_datatype_commit(MPI_Datatype* datatype);
 
+int smpi_mpi_unpack(void* inbuf, int insize, int* position, void* outbuf, int outcount, MPI_Datatype type, MPI_Comm comm);
+int smpi_mpi_pack(void* inbuf, int incount, MPI_Datatype type, void* outbuf, int outcount, int* position, MPI_Comm comm);
+
 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);