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
Use simgrid function instead of MPI in collectives
[simgrid.git]
/
src
/
smpi
/
colls
/
allreduce-redbcast.c
diff --git
a/src/smpi/colls/allreduce-redbcast.c
b/src/smpi/colls/allreduce-redbcast.c
index
c00fc2f
..
69c552d
100644
(file)
--- a/
src/smpi/colls/allreduce-redbcast.c
+++ b/
src/smpi/colls/allreduce-redbcast.c
@@
-1,10
+1,10
@@
-#include "colls.h"
+#include "colls
_private
.h"
int smpi_coll_tuned_allreduce_redbcast(void *buf, void *buf2, int count,
MPI_Datatype datatype, MPI_Op op,
MPI_Comm comm)
{
int smpi_coll_tuned_allreduce_redbcast(void *buf, void *buf2, int count,
MPI_Datatype datatype, MPI_Op op,
MPI_Comm comm)
{
-
MPI_R
educe(buf, buf2, count, datatype, op, 0, comm);
-
MPI_B
cast(buf2, count, datatype, 0, comm);
- return
0
;
+
smpi_mpi_r
educe(buf, buf2, count, datatype, op, 0, comm);
+
smpi_mpi_b
cast(buf2, count, datatype, 0, comm);
+ return
MPI_SUCCESS
;
}
}