X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d5cc61332edae35867a41bb38ad9401faaab2716..9afa0d0db01da2ae64e48fb594cc87c186dde192:/src/smpi/colls/bcast/bcast-scatter-LR-allgather.cpp diff --git a/src/smpi/colls/bcast/bcast-scatter-LR-allgather.cpp b/src/smpi/colls/bcast/bcast-scatter-LR-allgather.cpp index 1a3cb9b2bd..dccdb2d16f 100644 --- a/src/smpi/colls/bcast/bcast-scatter-LR-allgather.cpp +++ b/src/smpi/colls/bcast/bcast-scatter-LR-allgather.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2019. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -64,15 +64,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Descrp: broadcasts using a scatter followed by LR allgather. - * Auther: MPIH / modified by Ahmad Faraj + * Author: MPIH / modified by Ahmad Faraj ****************************************************************************/ -namespace simgrid{ -namespace smpi{ -int -Coll_bcast_scatter_LR_allgather::bcast(void *buff, int count, - MPI_Datatype data_type, int root, - MPI_Comm comm) +namespace simgrid::smpi { +int bcast__scatter_LR_allgather(void *buff, int count, + MPI_Datatype data_type, int root, + MPI_Comm comm) { MPI_Aint extent; MPI_Status status; @@ -115,7 +113,7 @@ Coll_bcast_scatter_LR_allgather::bcast(void *buff, int count, } // This process is responsible for all processes that have bits - // set from the LSB upto (but not including) mask. Because of + // set from the LSB up to (but not including) mask. Because of // the "not including", we start by shifting mask back down // one. @@ -178,5 +176,4 @@ Coll_bcast_scatter_LR_allgather::bcast(void *buff, int count, return MPI_SUCCESS; } -} -} +} // namespace simgrid::smpi