X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d5cc61332edae35867a41bb38ad9401faaab2716..5089a0a98b27f5eeee62321dff4f025f1648f025:/src/smpi/colls/allgather/allgather-NTSLR-NB.cpp?ds=sidebyside diff --git a/src/smpi/colls/allgather/allgather-NTSLR-NB.cpp b/src/smpi/colls/allgather/allgather-NTSLR-NB.cpp index f05db0c18a..d1cdb55c0e 100644 --- a/src/smpi/colls/allgather/allgather-NTSLR-NB.cpp +++ b/src/smpi/colls/allgather/allgather-NTSLR-NB.cpp @@ -9,12 +9,11 @@ namespace simgrid{ namespace smpi{ - -// Allgather-Non-Topoloty-Scecific-Logical-Ring algorithm +// Allgather-Non-Topology-Specific-Logical-Ring algorithm int -Coll_allgather_NTSLR_NB::allgather(const void *sbuf, int scount, MPI_Datatype stype, - void *rbuf, int rcount, MPI_Datatype rtype, - MPI_Comm comm) +allgather__NTSLR_NB(const void *sbuf, int scount, MPI_Datatype stype, + void *rbuf, int rcount, MPI_Datatype rtype, + MPI_Comm comm) { MPI_Aint rextent, sextent; MPI_Status status, status2; @@ -32,7 +31,7 @@ Coll_allgather_NTSLR_NB::allgather(const void *sbuf, int scount, MPI_Datatype st // irregular case use default MPI fucntions if (scount * sextent != rcount * rextent) { XBT_WARN("MPI_allgather_NTSLR_NB use default MPI_allgather."); - Coll_allgather_default::allgather(sbuf, scount, stype, rbuf, rcount, rtype, comm); + allgather__default(sbuf, scount, stype, rbuf, rcount, rtype, comm); return MPI_SUCCESS; }