Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Properly register the waiter in wait_any_for(), so that it gets handled on suspend...
[simgrid.git] / src / smpi / colls / alltoall / alltoall-rdb.cpp
index 942288e4210be7a3986223736d0d8de5346266ef..c2268a3d98c6ab913604477773f705b74f34ce7b 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
  * Author: MPICH / slightly modified by Ahmad Faraj.
 
  ****************************************************************************/
-namespace simgrid{
-namespace smpi{
-int Coll_alltoall_rdb::alltoall(const void *send_buff, int send_count,
-                                 MPI_Datatype send_type,
-                                 void *recv_buff, int recv_count,
-                                 MPI_Datatype recv_type, MPI_Comm comm)
+namespace simgrid::smpi {
+int alltoall__rdb(const void *send_buff, int send_count,
+                  MPI_Datatype send_type,
+                  void *recv_buff, int recv_count,
+                  MPI_Datatype recv_type, MPI_Comm comm)
 {
   /* MPI variables */
   MPI_Status status;
@@ -154,5 +153,4 @@ int Coll_alltoall_rdb::alltoall(const void *send_buff, int send_count,
   smpi_free_tmp_buffer(tmp_buff);
   return MPI_SUCCESS;
 }
-}
-}
+} // namespace simgrid::smpi