-/* 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
* differently and so will not have to duplicate code.
* GEF Oct05 after asking Jeff.
*/
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
int alltoallv__ompi_basic_linear(const void *sbuf, const int *scounts, const int *sdisps,
MPI_Datatype sdtype,
void *rbuf, const int *rcounts, const int *rdisps,
}
/* Now, initiate all send/recv to/from others. */
- MPI_Request* ireqs = new MPI_Request[size * 2];
+ auto* ireqs = new MPI_Request[size * 2];
int nreqs = 0;
MPI_Request* preq = ireqs;
return MPI_SUCCESS;
}
-}
-}
+} // namespace simgrid::smpi