-/* Copyright (c) 2013-2014. The SimGrid Team.
+/* Copyright (c) 2013-2017. 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)
{
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);
}
return MPI_SUCCESS;
}
+
+}
+}