X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f35db13138682b1be530a509d1eeadeafff84ca7..HEAD:/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 5eaca0db39..d336dd1d00 100644 --- a/src/smpi/colls/bcast/bcast-SMP-binomial.cpp +++ b/src/smpi/colls/bcast/bcast-SMP-binomial.cpp @@ -1,15 +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" -namespace simgrid{ -namespace smpi{ -int Coll_bcast_SMP_binomial::bcast(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; @@ -28,8 +27,7 @@ int Coll_bcast_SMP_binomial::bcast(void *buf, int count, num_core = comm->get_intra_comm()->size(); }else{ //implementation buggy in this case - return Coll_bcast_mpich::bcast( buf , count, datatype, - root, comm); + return bcast__mpich(buf, count, datatype, root, comm); } int to_intra, to_inter; @@ -110,5 +108,4 @@ int Coll_bcast_SMP_binomial::bcast(void *buf, int count, return MPI_SUCCESS; } -} -} +} // namespace simgrid::smpi