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
[SMPI] Remove function declaration from smpi_bench.cpp
[simgrid.git]
/
src
/
smpi
/
colls
/
allgatherv-ompi-bruck.c
diff --git
a/src/smpi/colls/allgatherv-ompi-bruck.c
b/src/smpi/colls/allgatherv-ompi-bruck.c
index
dc5d2fb
..
3ea3c01
100644
(file)
--- a/
src/smpi/colls/allgatherv-ompi-bruck.c
+++ b/
src/smpi/colls/allgatherv-ompi-bruck.c
@@
-89,7
+89,7
@@
int smpi_coll_tuned_allgatherv_ompi_bruck(void *sbuf, int scount,
int *new_scounts = NULL, *new_sdispls = NULL;
ptrdiff_t slb, rlb, sext, rext;
char *tmpsend = NULL, *tmprecv = NULL;
int *new_scounts = NULL, *new_sdispls = NULL;
ptrdiff_t slb, rlb, sext, rext;
char *tmpsend = NULL, *tmprecv = NULL;
- MPI_Datatype new_rdtype
, new_sdtype
;
+ MPI_Datatype new_rdtype
= MPI_DATATYPE_NULL, new_sdtype = MPI_DATATYPE_NULL
;
size = smpi_comm_size(comm);
rank = smpi_comm_rank(comm);
size = smpi_comm_size(comm);
rank = smpi_comm_rank(comm);
@@
-162,8
+162,8
@@
int smpi_coll_tuned_allgatherv_ompi_bruck(void *sbuf, int scount,
rbuf, 1, new_rdtype, recvfrom,
COLL_TAG_ALLGATHERV,
comm, MPI_STATUS_IGNORE);
rbuf, 1, new_rdtype, recvfrom,
COLL_TAG_ALLGATHERV,
comm, MPI_STATUS_IGNORE);
- smpi_datatype_
free(&
new_sdtype);
- smpi_datatype_
free(&
new_rdtype);
+ smpi_datatype_
unuse(
new_sdtype);
+ smpi_datatype_
unuse(
new_rdtype);
}
}