X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdf6a962eb4e88efbed3df9c41343adabcf09e6c..c913626231c8aa1a7b70757db5c6c8a9f9c529f6:/src/smpi/colls/allreduce/allreduce-rab-rdb.cpp diff --git a/src/smpi/colls/allreduce/allreduce-rab-rdb.cpp b/src/smpi/colls/allreduce/allreduce-rab-rdb.cpp index 48b583c84a..67ea1834f8 100644 --- a/src/smpi/colls/allreduce/allreduce-rab-rdb.cpp +++ b/src/smpi/colls/allreduce/allreduce-rab-rdb.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2019. The SimGrid Team. +/* Copyright (c) 2013-2021. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -7,9 +7,9 @@ #include "../colls_private.hpp" namespace simgrid{ namespace smpi{ -int Coll_allreduce_rab_rdb::allreduce(const void *sbuff, void *rbuff, int count, - MPI_Datatype dtype, MPI_Op op, - MPI_Comm comm) +int allreduce__rab_rdb(const void *sbuff, void *rbuff, int count, + MPI_Datatype dtype, MPI_Op op, + MPI_Comm comm) { int tag = COLL_TAG_ALLREDUCE; unsigned int mask, pof2, i, recv_idx, last_idx, send_idx, send_cnt; @@ -46,7 +46,7 @@ int Coll_allreduce_rab_rdb::allreduce(const void *sbuff, void *rbuff, int count, Request::send(rbuff, count, dtype, rank + 1, tag, comm); // temporarily set the rank to -1 so that this - // process does not pariticipate in recursive + // process does not participate in recursive // doubling newrank = -1; } else // odd