X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b7ed19dfcc221d7b3eca182abb5c4a3946671172..a92d7b716f51a53dea7f59db8524d4add713b910:/src/smpi/colls/allreduce/allreduce-smp-binomial.cpp diff --git a/src/smpi/colls/allreduce/allreduce-smp-binomial.cpp b/src/smpi/colls/allreduce/allreduce-smp-binomial.cpp index 7b93bf60ab..d3bc4a23ff 100644 --- a/src/smpi/colls/allreduce/allreduce-smp-binomial.cpp +++ b/src/smpi/colls/allreduce/allreduce-smp-binomial.cpp @@ -1,4 +1,4 @@ -/* 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 @@ -27,6 +27,8 @@ This fucntion performs all-reduce operation as follow. 3) binomial_tree bcast intra-communication between root of each SMP node 4) binomial_tree bcast inside each SMP node */ +namespace simgrid{ +namespace smpi{ int Coll_allreduce_smp_binomial::allreduce(void *send_buf, void *recv_buf, int count, MPI_Datatype dtype, MPI_Op op, MPI_Comm comm) @@ -153,3 +155,5 @@ int Coll_allreduce_smp_binomial::allreduce(void *send_buf, void *recv_buf, smpi_free_tmp_buffer(tmp_buf); return MPI_SUCCESS; } +} +}