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
Merge branches 'master' and 'master' of github.com:simgrid/simgrid
[simgrid.git]
/
src
/
smpi
/
colls
/
allreduce
/
allreduce-smp-rsag-rab.cpp
diff --git
a/src/smpi/colls/allreduce/allreduce-smp-rsag-rab.cpp
b/src/smpi/colls/allreduce/allreduce-smp-rsag-rab.cpp
index
53cde44
..
8ed15d2
100644
(file)
--- a/
src/smpi/colls/allreduce/allreduce-smp-rsag-rab.cpp
+++ b/
src/smpi/colls/allreduce/allreduce-smp-rsag-rab.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-201
4
. The SimGrid Team.
+/* Copyright (c) 2013-201
7
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-18,6
+18,8
@@
This fucntion performs all-reduce operation as follow.
3) allgather - inter between root of each SMP node
4) binomial_tree bcast inside each SMP node
*/
3) allgather - inter between root of each SMP node
4) binomial_tree bcast inside each SMP node
*/
+namespace simgrid{
+namespace smpi{
int Coll_allreduce_smp_rsag_rab::allreduce(void *sbuf, void *rbuf, int count,
MPI_Datatype dtype, MPI_Op op,
MPI_Comm comm)
int Coll_allreduce_smp_rsag_rab::allreduce(void *sbuf, void *rbuf, int count,
MPI_Datatype dtype, MPI_Op op,
MPI_Comm comm)
@@
-209,3
+211,5
@@
int Coll_allreduce_smp_rsag_rab::allreduce(void *sbuf, void *rbuf, int count,
smpi_free_tmp_buffer(tmp_buf);
return MPI_SUCCESS;
}
smpi_free_tmp_buffer(tmp_buf);
return MPI_SUCCESS;
}
+}
+}