Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines with new year.
[simgrid.git] / src / smpi / colls / bcast / bcast-SMP-binomial.cpp
index 5ac33b6..d5b1481 100644 (file)
@@ -1,12 +1,13 @@
-/* Copyright (c) 2013-2014. The SimGrid Team.
+/* Copyright (c) 2013-2019. 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. */
 
-#include "../colls_private.h"
-
-int smpi_coll_tuned_bcast_SMP_binomial(void *buf, int count,
+#include "../colls_private.hpp"
+namespace simgrid{
+namespace smpi{
+int Coll_bcast_SMP_binomial::bcast(void *buf, int count,
                                        MPI_Datatype datatype, int root,
                                        MPI_Comm comm)
 {
@@ -27,7 +28,7 @@ int smpi_coll_tuned_bcast_SMP_binomial(void *buf, int count,
     num_core = comm->get_intra_comm()->size();
   }else{
     //implementation buggy in this case
-    return smpi_coll_tuned_bcast_mpich( buf , count, datatype,
+    return Coll_bcast_mpich::bcast( buf , count, datatype,
               root, comm);
   }
 
@@ -108,3 +109,6 @@ int smpi_coll_tuned_bcast_SMP_binomial(void *buf, int count,
 
   return MPI_SUCCESS;
 }
+
+}
+}