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
keep in mind the size of sub-datatype, to avoid some illegal copies
[simgrid.git]
/
src
/
smpi
/
private.h
diff --git
a/src/smpi/private.h
b/src/smpi/private.h
index f6245b54a362110eba899a78388dcc14e6ec6149..d6e1a2917eba5d96ed9b591b0d874c53cd4d3509 100644
(file)
--- a/
src/smpi/private.h
+++ b/
src/smpi/private.h
@@
-53,7
+53,7
@@
typedef struct s_smpi_mpi_datatype{
char* name;
size_t size;
/* this let us know if a serialization is required*/
char* name;
size_t size;
/* this let us know if a serialization is required*/
- size_t
has
_subtype;
+ size_t
sizeof
_subtype;
MPI_Aint lb;
MPI_Aint ub;
int flags;
MPI_Aint lb;
MPI_Aint ub;
int flags;
@@
-221,7
+221,7
@@
XBT_PRIVATE int smpi_datatype_hindexed(int count, int* blocklens, MPI_Aint* indi
XBT_PRIVATE int smpi_datatype_struct(int count, int* blocklens, MPI_Aint* indices, MPI_Datatype* old_types,
MPI_Datatype* new_type);
XBT_PRIVATE int smpi_datatype_struct(int count, int* blocklens, MPI_Aint* indices, MPI_Datatype* old_types,
MPI_Datatype* new_type);
-XBT_PRIVATE void smpi_datatype_create(MPI_Datatype* new_type, int size,int lb, int ub, int
has
_subtype,
+XBT_PRIVATE void smpi_datatype_create(MPI_Datatype* new_type, int size,int lb, int ub, int
sizeof
_subtype,
void *struct_type, int flags);
XBT_PRIVATE void smpi_datatype_free(MPI_Datatype* type);
void *struct_type, int flags);
XBT_PRIVATE void smpi_datatype_free(MPI_Datatype* type);