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
Update copyright lines for 2022.
[simgrid.git]
/
src
/
smpi
/
colls
/
bcast
/
bcast-binomial-tree.cpp
diff --git
a/src/smpi/colls/bcast/bcast-binomial-tree.cpp
b/src/smpi/colls/bcast/bcast-binomial-tree.cpp
index
d73682e
..
8d7076a
100644
(file)
--- a/
src/smpi/colls/bcast/bcast-binomial-tree.cpp
+++ b/
src/smpi/colls/bcast/bcast-binomial-tree.cpp
@@
-1,10
+1,10
@@
-/* Copyright (c) 2013-20
14
. The SimGrid Team.
+/* Copyright (c) 2013-20
22
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
-#include "../colls_private.h"
+#include "../colls_private.h
pp
"
/*****************************************************************************
/*****************************************************************************
@@
-64,14
+64,14
@@
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* Descrp: broadcasts using a bionomial tree.
* Descrp: broadcasts using a bionomial tree.
- * Auth
e
r: MPIH / modified by Ahmad Faraj
+ * Auth
o
r: MPIH / modified by Ahmad Faraj
****************************************************************************/
****************************************************************************/
-
-int
-
Coll_bcast_binomial_tree::bcast
(void *buff, int count,
-
MPI_Datatype data_type, int root,
-
MPI_Comm comm)
+namespace simgrid {
+namespace smpi {
+
int bcast__binomial_tree
(void *buff, int count,
+ MPI_Datatype data_type, int root,
+ MPI_Comm comm)
{
int src, dst, rank, num_procs, mask, relative_rank;
int tag = COLL_TAG_BCAST;
{
int src, dst, rank, num_procs, mask, relative_rank;
int tag = COLL_TAG_BCAST;
@@
-106,3
+106,6
@@
Coll_bcast_binomial_tree::bcast(void *buff, int count,
return MPI_SUCCESS;
}
return MPI_SUCCESS;
}
+
+}
+}