X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdf6a962eb4e88efbed3df9c41343adabcf09e6c..271068c7d949ed959313b055466e13539485bc2c:/src/smpi/colls/allreduce/allreduce-smp-binomial.cpp diff --git a/src/smpi/colls/allreduce/allreduce-smp-binomial.cpp b/src/smpi/colls/allreduce/allreduce-smp-binomial.cpp index 16f60d6eec..81e6b9d3bf 100644 --- a/src/smpi/colls/allreduce/allreduce-smp-binomial.cpp +++ b/src/smpi/colls/allreduce/allreduce-smp-binomial.cpp @@ -6,12 +6,11 @@ #include "../colls_private.hpp" /* IMPLEMENTED BY PITCH PATARASUK - Non-topoloty-specific (however, number of cores/node need to be changed) + Non-topology-specific (however, number of cores/node need to be changed) all-reduce operation designed for smp clusters It uses 2-layer communication: binomial for both intra-communication inter-communication*/ - /* ** NOTE ** Use -DMPICH2 if this code does not compile. MPICH1 code also work on MPICH2 on our cluster and the performance are similar. @@ -29,9 +28,9 @@ This fucntion performs all-reduce operation as follow. */ namespace simgrid{ namespace smpi{ -int Coll_allreduce_smp_binomial::allreduce(const void *send_buf, void *recv_buf, - int count, MPI_Datatype dtype, - MPI_Op op, MPI_Comm comm) +int allreduce__smp_binomial(const void *send_buf, void *recv_buf, + int count, MPI_Datatype dtype, + MPI_Op op, MPI_Comm comm) { int comm_size, rank; int tag = COLL_TAG_ALLREDUCE;