X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d20f024dba9ff1e9c8822237caaf963b9e913889..bfe580c9acb43ca1ca658f9111d4cd6f5951bbdc:/src/smpi/colls/allgather/allgather-ring.cpp diff --git a/src/smpi/colls/allgather/allgather-ring.cpp b/src/smpi/colls/allgather/allgather-ring.cpp index d3af9e6918..1500dbee63 100644 --- a/src/smpi/colls/allgather/allgather-ring.cpp +++ b/src/smpi/colls/allgather/allgather-ring.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2017. The SimGrid Team. +/* Copyright (c) 2013-2023. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -61,18 +61,16 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * recv_type: data type of elements being received * comm: communication * Descrp: Function works in P - 1 steps. In step i, node j - i -> j -> j+ i. - * Auther: Ahmad Faraj + * Author: Ahmad Faraj ****************************************************************************/ -namespace simgrid{ -namespace smpi{ - +namespace simgrid::smpi { int -Coll_allgather_ring::allgather(void *send_buff, int send_count, - MPI_Datatype send_type, void *recv_buff, - int recv_count, MPI_Datatype recv_type, - MPI_Comm comm) +allgather__ring(const void *send_buff, int send_count, + MPI_Datatype send_type, void *recv_buff, + int recv_count, MPI_Datatype recv_type, + MPI_Comm comm) { MPI_Aint extent; @@ -103,6 +101,4 @@ Coll_allgather_ring::allgather(void *send_buff, int send_count, return MPI_SUCCESS; } - -} -} +} // namespace simgrid::smpi