Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
started alltoallv(). Still some bugs.
[simgrid.git] / src / smpi / smpi_mpi_dt.c
index 7352a09..a196e36 100644 (file)
@@ -47,6 +47,16 @@ int smpi_mpi_type_get_extent(MPI_Datatype datatype, MPI_Aint *lb, MPI_Aint *exte
         *extent =  datatype->ub - datatype->lb;
         return( MPI_SUCCESS );
 }
+
+
+/**
+ * query extent and lower bound of the type 
+ **/
+int SMPI_MPI_Type_get_extent( MPI_Datatype datatype, int *lb, int *extent) 
+{
+        return( smpi_mpi_type_get_extent( datatype, lb, extent));
+}
+
 /**
  * query the size of the type
  **/
@@ -70,15 +80,6 @@ int SMPI_MPI_Type_size(MPI_Datatype datatype, size_t * size)
 }
 
 
-
-/**
- * query extent and lower bound of the type 
- **/
-int SMPI_MPI_Type_get_extent( MPI_Datatype datatype, int *lb, int *extent) 
-{
-        return( smpi_mpi_type_get_extent( datatype, lb, extent));
-}
-
 /* Deprecated Functions. 
  * The MPI-2 standard deprecated a number of routines because MPI-2 provides better versions. 
  * This routine is one of those that was deprecated. The routine may continue to be used, but