Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Concatenate nested namespaces (sonar).
[simgrid.git] / src / smpi / colls / allreduce / allreduce-smp-rdb.cpp
index 39e87b2..ca90a55 100644 (file)
@@ -25,8 +25,7 @@ This function performs all-reduce operation as follow.
 2) Recursive doubling intra-communication between root of each SMP node
 3) binomial_tree bcast inside each SMP node
 */
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 int allreduce__smp_rdb(const void *send_buf, void *recv_buf, int count,
                        MPI_Datatype dtype, MPI_Op op,
                        MPI_Comm comm)
@@ -185,5 +184,4 @@ int allreduce__smp_rdb(const void *send_buf, void *recv_buf, int count,
   smpi_free_tmp_buffer(tmp_buf);
   return MPI_SUCCESS;
 }
-}
-}
+} // namespace simgrid::smpi