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
welcome simgrid::smpi::Request
[simgrid.git]
/
src
/
smpi
/
colls
/
bcast-flattree.cpp
diff --git
a/src/smpi/colls/bcast-flattree.cpp
b/src/smpi/colls/bcast-flattree.cpp
index bafa90d3b461c19eb1c36a11827d1bcfbb7ae7a5..5fe60c16d2b477f28ba4792293ebe99cc18d4241 100644
(file)
--- a/
src/smpi/colls/bcast-flattree.cpp
+++ b/
src/smpi/colls/bcast-flattree.cpp
@@
-20,7
+20,7
@@
smpi_coll_tuned_bcast_flattree(void *buff, int count, MPI_Datatype data_type,
num_procs = comm->size();
if (rank != root) {
num_procs = comm->size();
if (rank != root) {
-
smpi_mpi_
recv(buff, count, data_type, root, tag, comm, MPI_STATUS_IGNORE);
+
Request::
recv(buff, count, data_type, root, tag, comm, MPI_STATUS_IGNORE);
}
else {
}
else {
@@
-31,11
+31,11
@@
smpi_coll_tuned_bcast_flattree(void *buff, int count, MPI_Datatype data_type,
for (i = 0; i < num_procs; i++) {
if (i == rank)
continue;
for (i = 0; i < num_procs; i++) {
if (i == rank)
continue;
- *(req_ptr++) =
smpi_mpi_
isend(buff, count, data_type, i, tag, comm);
+ *(req_ptr++) =
Request::
isend(buff, count, data_type, i, tag, comm);
}
// wait on all requests
}
// wait on all requests
-
smpi_mpi_
waitall(num_procs - 1, reqs, MPI_STATUSES_IGNORE);
+
Request::
waitall(num_procs - 1, reqs, MPI_STATUSES_IGNORE);
free(reqs);
}
free(reqs);
}