X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/40616078da72e823931c1fb884949054699ec39d..adbdcbddadcbd685b72259874d1ebfd9cbbcc497:/src/smpi/colls/bcast/bcast-SMP-binomial.cpp diff --git a/src/smpi/colls/bcast/bcast-SMP-binomial.cpp b/src/smpi/colls/bcast/bcast-SMP-binomial.cpp index 5ac33b6cd5..d336dd1d00 100644 --- a/src/smpi/colls/bcast/bcast-SMP-binomial.cpp +++ b/src/smpi/colls/bcast/bcast-SMP-binomial.cpp @@ -1,14 +1,14 @@ -/* Copyright (c) 2013-2014. 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 * 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, - MPI_Datatype datatype, int root, - MPI_Comm comm) +#include "../colls_private.hpp" +namespace simgrid::smpi { +int bcast__SMP_binomial(void *buf, int count, + MPI_Datatype datatype, int root, + MPI_Comm comm) { int mask = 1; int size; @@ -27,8 +27,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, - root, comm); + return bcast__mpich(buf, count, datatype, root, comm); } int to_intra, to_inter; @@ -108,3 +107,5 @@ int smpi_coll_tuned_bcast_SMP_binomial(void *buf, int count, return MPI_SUCCESS; } + +} // namespace simgrid::smpi