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
Add smpi_status.cpp and hpp.
[simgrid.git]
/
src
/
smpi
/
colls
/
allgather
/
allgather-SMP-NTS.cpp
diff --git
a/src/smpi/colls/allgather/allgather-SMP-NTS.cpp
b/src/smpi/colls/allgather/allgather-SMP-NTS.cpp
index
0ea5ff7
..
5713120
100644
(file)
--- a/
src/smpi/colls/allgather/allgather-SMP-NTS.cpp
+++ b/
src/smpi/colls/allgather/allgather-SMP-NTS.cpp
@@
-6,7
+6,11
@@
#include "../colls_private.h"
#include "../colls_private.h"
-int smpi_coll_tuned_allgather_SMP_NTS(void *sbuf, int scount,
+namespace simgrid{
+namespace smpi{
+
+
+int Coll_allgather_SMP_NTS::allgather(void *sbuf, int scount,
MPI_Datatype stype, void *rbuf,
int rcount, MPI_Datatype rtype,
MPI_Comm comm)
MPI_Datatype stype, void *rbuf,
int rcount, MPI_Datatype rtype,
MPI_Comm comm)
@@
-42,7
+46,7
@@
int smpi_coll_tuned_allgather_SMP_NTS(void *sbuf, int scount,
/* for too small number of processes, use default implementation */
if (comm_size <= num_core) {
XBT_WARN("MPI_allgather_SMP_NTS use default MPI_allgather.");
/* for too small number of processes, use default implementation */
if (comm_size <= num_core) {
XBT_WARN("MPI_allgather_SMP_NTS use default MPI_allgather.");
-
smpi_mpi_
allgather(sbuf, scount, stype, rbuf, rcount, rtype, comm);
+
Coll_allgather_default::
allgather(sbuf, scount, stype, rbuf, rcount, rtype, comm);
return MPI_SUCCESS;
}
return MPI_SUCCESS;
}
@@
-157,3
+161,7
@@
int smpi_coll_tuned_allgather_SMP_NTS(void *sbuf, int scount,
return MPI_SUCCESS;
}
return MPI_SUCCESS;
}
+
+
+}
+}