-/* 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
* [6] [6] [6] [6] [6] [6] [6]
*/
-namespace simgrid {
-namespace smpi {
+namespace simgrid::smpi {
int allgatherv__ompi_bruck(const void *sbuf, int scount,
MPI_Datatype sdtype,
int sendto, recvfrom, blockcount, i;
unsigned int distance;
ptrdiff_t slb, rlb, sext, rext;
- char *tmpsend = NULL, *tmprecv = NULL;
+ char *tmpsend = nullptr, *tmprecv = nullptr;
MPI_Datatype new_rdtype = MPI_DATATYPE_NULL, new_sdtype = MPI_DATATYPE_NULL;
unsigned int size = comm->size();
}
-
-}
-}
+} // namespace simgrid::smpi