X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b7ed19dfcc221d7b3eca182abb5c4a3946671172..ea74f5d95928a521a588737e81f1de94eef25d19:/src/smpi/colls/bcast/bcast-binomial-tree.cpp diff --git a/src/smpi/colls/bcast/bcast-binomial-tree.cpp b/src/smpi/colls/bcast/bcast-binomial-tree.cpp index d73682e7fd..8d7076a220 100644 --- a/src/smpi/colls/bcast/bcast-binomial-tree.cpp +++ b/src/smpi/colls/bcast/bcast-binomial-tree.cpp @@ -1,10 +1,10 @@ -/* Copyright (c) 2013-2014. The SimGrid Team. +/* Copyright (c) 2013-2022. 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" +#include "../colls_private.hpp" /***************************************************************************** @@ -64,14 +64,14 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * Descrp: broadcasts using a bionomial tree. - * Auther: MPIH / modified by Ahmad Faraj + * Author: MPIH / modified by Ahmad Faraj ****************************************************************************/ - -int -Coll_bcast_binomial_tree::bcast(void *buff, int count, - MPI_Datatype data_type, int root, - MPI_Comm comm) +namespace simgrid { +namespace smpi { +int bcast__binomial_tree(void *buff, int count, + MPI_Datatype data_type, int root, + MPI_Comm comm) { int src, dst, rank, num_procs, mask, relative_rank; int tag = COLL_TAG_BCAST; @@ -106,3 +106,6 @@ Coll_bcast_binomial_tree::bcast(void *buff, int count, return MPI_SUCCESS; } + +} +}