-/* Copyright (c) 2013-2020. 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
* comm: communication
****************************************************************************/
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
int allgatherv__mpich_ring(const void *sendbuf, int sendcount,
MPI_Datatype send_type, void *recvbuf,
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;
return MPI_SUCCESS;
}
-}
-}
+} // namespace simgrid::smpi