Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Rework the doc of model-check/replay, and add an example with sthread
[simgrid.git] / src / smpi / colls / alltoallv / alltoallv-ring-light-barrier.cpp
index ef6d087f169f097949657433cb8ffd8e81792c4a..862dfdf601fe86b915046f87c5b705970f6252b3 100644 (file)
@@ -1,4 +1,4 @@
-/* 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
            Light barriers are inserted between communications in different
            phases.
 
- * Auther: Ahmad Faraj
+ * Author: Ahmad Faraj
 
  ****************************************************************************/
-namespace simgrid{
-namespace smpi{
-int
-Coll_alltoallv_ring_light_barrier::alltoallv(void *send_buff, int *send_counts, int *send_disps,
-                                            MPI_Datatype send_type,
-                                            void *recv_buff, int *recv_counts, int *recv_disps,
-                                            MPI_Datatype recv_type,
-                                            MPI_Comm comm)
+namespace simgrid::smpi {
+int alltoallv__ring_light_barrier(const void *send_buff, const int *send_counts, const int *send_disps,
+                                  MPI_Datatype send_type,
+                                  void *recv_buff, const int *recv_counts, const int *recv_disps,
+                                  MPI_Datatype recv_type,
+                                  MPI_Comm comm)
 {
   MPI_Aint send_chunk, recv_chunk;
   MPI_Status s;
@@ -73,5 +71,4 @@ Coll_alltoallv_ring_light_barrier::alltoallv(void *send_buff, int *send_counts,
 
   return MPI_SUCCESS;
 }
-}
-}
+} // namespace simgrid::smpi