A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
started alltoallv(). Still some bugs.
[simgrid.git]
/
src
/
smpi
/
smpi_mpi_dt.c
diff --git
a/src/smpi/smpi_mpi_dt.c
b/src/smpi/smpi_mpi_dt.c
index
7352a09
..
a196e36
100644
(file)
--- a/
src/smpi/smpi_mpi_dt.c
+++ b/
src/smpi/smpi_mpi_dt.c
@@
-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 );
}
*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
**/
/**
* 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
/* 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