X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d3a5b5e5113cf4438faf96f6dc442240c5b9d085..87e5cfdacaaaafd46c8b8d62fbc8089409468fbc:/src/smpi/include/smpi_datatype.hpp diff --git a/src/smpi/include/smpi_datatype.hpp b/src/smpi/include/smpi_datatype.hpp index 97beb461c1..5952daa1ad 100644 --- a/src/smpi/include/smpi_datatype.hpp +++ b/src/smpi/include/smpi_datatype.hpp @@ -102,6 +102,8 @@ public: static void unref(MPI_Datatype datatype); void commit(); bool is_valid(); + bool is_basic(); + bool is_replayable(); void addflag(int flag); int extent(MPI_Aint* lb, MPI_Aint* extent); MPI_Aint get_extent(); @@ -125,7 +127,11 @@ public: MPI_Datatype* new_type); static int create_struct(int count, int* blocklens, MPI_Aint* indices, MPI_Datatype* old_types, MPI_Datatype* new_type); - + static int create_subarray(int ndims, int* array_of_sizes, + int* array_of_subsizes, int* array_of_starts, + int order, MPI_Datatype oldtype, MPI_Datatype *newtype); + static int create_resized(MPI_Datatype oldtype,MPI_Aint lb, MPI_Aint extent, + MPI_Datatype *newtype); static Datatype* f2c(int id); };