X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/96cedde3cdbc0b8ffc3f096a1b65d021b0226f99..abf3b21ad3f4a19475431076e6e2b26f76d2e7d6:/src/smpi/colls/alltoallv/alltoallv-ring-light-barrier.cpp diff --git a/src/smpi/colls/alltoallv/alltoallv-ring-light-barrier.cpp b/src/smpi/colls/alltoallv/alltoallv-ring-light-barrier.cpp index ef6d087f16..862dfdf601 100644 --- a/src/smpi/colls/alltoallv/alltoallv-ring-light-barrier.cpp +++ b/src/smpi/colls/alltoallv/alltoallv-ring-light-barrier.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2019. 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 @@ -24,17 +24,15 @@ Light barriers are inserted between communications in different phases. - * Auther: Ahmad Faraj + * Author: Ahmad Faraj ****************************************************************************/ -namespace simgrid{ -namespace smpi{ -int -Coll_alltoallv_ring_light_barrier::alltoallv(void *send_buff, int *send_counts, int *send_disps, - MPI_Datatype send_type, - void *recv_buff, int *recv_counts, int *recv_disps, - MPI_Datatype recv_type, - MPI_Comm comm) +namespace simgrid::smpi { +int alltoallv__ring_light_barrier(const void *send_buff, const int *send_counts, const int *send_disps, + MPI_Datatype send_type, + void *recv_buff, const int *recv_counts, const int *recv_disps, + MPI_Datatype recv_type, + MPI_Comm comm) { MPI_Aint send_chunk, recv_chunk; MPI_Status s; @@ -73,5 +71,4 @@ Coll_alltoallv_ring_light_barrier::alltoallv(void *send_buff, int *send_counts, return MPI_SUCCESS; } -} -} +} // namespace simgrid::smpi