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
[mc] Disable/enable the stack-cleaner from a CLI argument (-f[no-]stack-cleaner)
[simgrid.git]
/
src
/
smpi
/
colls
/
allgatherv-mpich-rdb.c
diff --git
a/src/smpi/colls/allgatherv-mpich-rdb.c
b/src/smpi/colls/allgatherv-mpich-rdb.c
index 8e92b6f3c54d21aab7e836822cb3371d937450ab..58195e814db31de94156bc2567b0ef65c9ea5539 100644
(file)
--- a/
src/smpi/colls/allgatherv-mpich-rdb.c
+++ b/
src/smpi/colls/allgatherv-mpich-rdb.c
@@
-42,7
+42,7
@@
int smpi_coll_tuned_allgatherv_mpich_rdb (
smpi_datatype_extent(recvtype, &recvtype_true_lb, &recvtype_true_extent);
smpi_datatype_extent(recvtype, &recvtype_true_lb, &recvtype_true_extent);
- tmp_buf= (void*)
xbt_malloc
(total_count*(max(recvtype_true_extent,recvtype_extent)));
+ tmp_buf= (void*)
smpi_get_tmp_sendbuffer
(total_count*(max(recvtype_true_extent,recvtype_extent)));
/* adjust for potential negative lower bound in datatype */
tmp_buf = (void *)((char*)tmp_buf - recvtype_true_lb);
/* adjust for potential negative lower bound in datatype */
tmp_buf = (void *)((char*)tmp_buf - recvtype_true_lb);
@@
-209,6
+209,6
@@
int smpi_coll_tuned_allgatherv_mpich_rdb (
position += recvcounts[j];
}
position += recvcounts[j];
}
-
free
(tmp_buf);
+
smpi_free_tmp_buffer
(tmp_buf);
return MPI_SUCCESS;
}
return MPI_SUCCESS;
}