Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Another attempt at fixing the Flag2 job of jenkins
[simgrid.git] / src / smpi / colls / bcast / bcast-scatter-LR-allgather.cpp
index 1a3cb9b2bd91d5451a0d6832f2709088e735c250..dccdb2d16fe9c784b961e76269793e618b70b9c4 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2019. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2013-2023. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -64,15 +64,13 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
  * Descrp: broadcasts using a scatter followed by LR allgather.
 
- * Auther: MPIH / modified by Ahmad Faraj
+ * Author: MPIH / modified by Ahmad Faraj
 
  ****************************************************************************/
-namespace simgrid{
-namespace smpi{
-int
-Coll_bcast_scatter_LR_allgather::bcast(void *buff, int count,
-                                           MPI_Datatype data_type, int root,
-                                           MPI_Comm comm)
+namespace simgrid::smpi {
+int bcast__scatter_LR_allgather(void *buff, int count,
+                                MPI_Datatype data_type, int root,
+                                MPI_Comm comm)
 {
   MPI_Aint extent;
   MPI_Status status;
@@ -115,7 +113,7 @@ Coll_bcast_scatter_LR_allgather::bcast(void *buff, int count,
   }
 
   // This process is responsible for all processes that have bits
-  // set from the LSB upto (but not including) mask.  Because of
+  // set from the LSB up to (but not including) mask.  Because of
   // the "not including", we start by shifting mask back down
   // one.
 
@@ -178,5 +176,4 @@ Coll_bcast_scatter_LR_allgather::bcast(void *buff, int count,
   return MPI_SUCCESS;
 }
 
-}
-}
+} // namespace simgrid::smpi