X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/40616078da72e823931c1fb884949054699ec39d..deb1c76a7b953888921c68a1ed77f170aca827de:/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 0ea5ff7d24..571312063e 100644 --- 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" -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) @@ -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."); - smpi_mpi_allgather(sbuf, scount, stype, rbuf, rcount, rtype, comm); + Coll_allgather_default::allgather(sbuf, scount, stype, rbuf, rcount, rtype, comm); return MPI_SUCCESS; } @@ -157,3 +161,7 @@ int smpi_coll_tuned_allgather_SMP_NTS(void *sbuf, int scount, return MPI_SUCCESS; } + + +} +}