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 / bcast / bcast-arrival-scatter.cpp
index f0daaf6f7a99891bdb3e46992bdc774de85cef24..040737ff9488cdd3b9568ed05bc6ec596d9379c6 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2021. 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
@@ -13,8 +13,7 @@
 #ifndef BCAST_ARRIVAL_PATTERN_AWARE_MAX_NODE
 #define BCAST_ARRIVAL_PATTERN_AWARE_MAX_NODE 128
 #endif
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
 /* Non-topology-specific pipelined linear-bcast function */
 int bcast__arrival_scatter(void *buf, int count,
                            MPI_Datatype datatype, int root,
@@ -59,7 +58,7 @@ int bcast__arrival_scatter(void *buf, int count,
 
   /* message too small */
   if (count < size) {
-    XBT_WARN("MPI_bcast_arrival_scatter use default MPI_bcast.");
+    XBT_INFO("MPI_bcast_arrival_scatter: count < size, use default MPI_bcast.");
     colls::bcast(buf, count, datatype, root, comm);
     return MPI_SUCCESS;
   }
@@ -233,5 +232,4 @@ int bcast__arrival_scatter(void *buf, int count,
   return MPI_SUCCESS;
 }
 
-}
-}
+} // namespace simgrid::smpi