-/* Copyright (c) 2013-2020. 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
#include "../coll_tuned_topo.hpp"
#include "../colls_private.hpp"
-namespace simgrid {
-namespace smpi {
+namespace simgrid::smpi {
int gather__ompi_binomial(const void* sbuf, int scount, MPI_Datatype sdtype, void* rbuf, int rcount,
MPI_Datatype rdtype, int root, MPI_Comm comm)
*/
char* ptmp;
MPI_Request first_segment_req;
- MPI_Request* reqs = new (std::nothrow) MPI_Request[size];
+ auto* reqs = new (std::nothrow) MPI_Request[size];
if (nullptr == reqs) {
ret = -1;
line = __LINE__;
return MPI_SUCCESS;
}
-}
-}
+} // namespace simgrid::smpi