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
[sonar] Use std::function.
[simgrid.git]
/
src
/
smpi
/
colls
/
bcast
/
bcast-ompi-split-bintree.cpp
diff --git
a/src/smpi/colls/bcast/bcast-ompi-split-bintree.cpp
b/src/smpi/colls/bcast/bcast-ompi-split-bintree.cpp
index
e2a0958
..
578cd89
100644
(file)
--- a/
src/smpi/colls/bcast/bcast-ompi-split-bintree.cpp
+++ b/
src/smpi/colls/bcast/bcast-ompi-split-bintree.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2013-201
7
. The SimGrid Team.
+/* Copyright (c) 2013-201
9
. 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
@@
-55,9
+55,9
@@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-
#include "../colls_private.h
"
-
#include "../coll_tuned_topo.h
"
-
#define MAXTREEFANOUT 32
+
#include "../coll_tuned_topo.hpp
"
+
#include "../colls_private.hpp
"
+#define MAXTREEFANOUT 32
namespace simgrid{
namespace smpi{
namespace simgrid{
namespace smpi{
@@
-98,7
+98,7
@@
Coll_bcast_ompi_split_bintree::bcast ( void* buffer,
else
segsize = 1024 << 3;
else
segsize = 1024 << 3;
- XBT_DEBUG("ompi_coll_tuned_bcast_intra_split_bintree rank %d root %d ss %5
d
", rank, root, segsize);
+ XBT_DEBUG("ompi_coll_tuned_bcast_intra_split_bintree rank %d root %d ss %5
u
", rank, root, segsize);
if (size == 1) {
return MPI_SUCCESS;
if (size == 1) {
return MPI_SUCCESS;
@@
-296,7
+296,7
@@
Coll_bcast_ompi_split_bintree::bcast ( void* buffer,
comm, MPI_STATUS_IGNORE);
}
}
comm, MPI_STATUS_IGNORE);
}
}
-
xbt_free(
tree);
+
ompi_coll_tuned_topo_destroy_tree(&
tree);
return (MPI_SUCCESS);
return (MPI_SUCCESS);