X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cdf6a962eb4e88efbed3df9c41343adabcf09e6c..ea74f5d95928a521a588737e81f1de94eef25d19:/src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp diff --git a/src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp b/src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp index 155b24f61d..b30ebda695 100644 --- a/src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp +++ b/src/smpi/colls/allgatherv/allgatherv-mpich-ring.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2019. The SimGrid Team. +/* Copyright (c) 2013-2022. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -28,14 +28,13 @@ namespace simgrid{ namespace smpi{ -int -Coll_allgatherv_mpich_ring::allgatherv(const void *sendbuf, int sendcount, - MPI_Datatype send_type, void *recvbuf, - const int *recvcounts, const int *displs, MPI_Datatype recvtype, - MPI_Comm comm) +int allgatherv__mpich_ring(const void *sendbuf, int sendcount, + MPI_Datatype send_type, void *recvbuf, + const int *recvcounts, const int *displs, MPI_Datatype recvtype, + MPI_Comm comm) { - char * sbuf = NULL, * rbuf = NULL; + char *sbuf = nullptr, *rbuf = nullptr; int soffset, roffset; int torecv=0, tosend=0, min, rank, comm_size; int sendnow, recvnow;