Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branches 'master' and 'master' of github.com:simgrid/simgrid
[simgrid.git] / src / smpi / colls / allreduce / allreduce-redbcast.cpp
index 35e40f1..9ed2084 100644 (file)
@@ -1,11 +1,12 @@
-/* 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"
-
+namespace simgrid{
+namespace smpi{
 int Coll_allreduce_redbcast::allreduce(void *buf, void *buf2, int count,
                                        MPI_Datatype datatype, MPI_Op op,
                                        MPI_Comm comm)
@@ -14,3 +15,5 @@ int Coll_allreduce_redbcast::allreduce(void *buf, void *buf2, int count,
   Colls::bcast(buf2, count, datatype, 0, comm);
   return MPI_SUCCESS;
 }
+}
+}