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 with new year.
[simgrid.git]
/
src
/
smpi
/
colls
/
allreduce
/
allreduce-redbcast.cpp
diff --git
a/src/smpi/colls/allreduce/allreduce-redbcast.cpp
b/src/smpi/colls/allreduce/allreduce-redbcast.cpp
index
b389899
..
9a7d66b
100644
(file)
--- a/
src/smpi/colls/allreduce/allreduce-redbcast.cpp
+++ b/
src/smpi/colls/allreduce/allreduce-redbcast.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-20
19
. The SimGrid Team.
+/* Copyright (c) 2013-20
20
. 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
@@
-7,12
+7,12
@@
#include "../colls_private.hpp"
namespace simgrid{
namespace smpi{
#include "../colls_private.hpp"
namespace simgrid{
namespace smpi{
-int
Coll_allreduce_redbcast::allreduce(
void *buf, void *buf2, int count,
-
MPI_Datatype datatype, MPI_Op op,
-
MPI_Comm comm)
+int
allreduce__redbcast(const
void *buf, void *buf2, int count,
+ MPI_Datatype datatype, MPI_Op op,
+ MPI_Comm comm)
{
{
-
C
olls::reduce(buf, buf2, count, datatype, op, 0, comm);
-
C
olls::bcast(buf2, count, datatype, 0, comm);
+
c
olls::reduce(buf, buf2, count, datatype, op, 0, comm);
+
c
olls::bcast(buf2, count, datatype, 0, comm);
return MPI_SUCCESS;
}
}
return MPI_SUCCESS;
}
}