Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI copyright bump before release
[simgrid.git] / src / smpi / colls / smpi_mpich_selector.cpp
index 8a9ffcd..cc9cf96 100644 (file)
@@ -1,6 +1,6 @@
 /* selector for collective algorithms based on mpich decision logic */
 
-/* Copyright (c) 2009-2010, 2013-2014. The SimGrid Team.
+/* Copyright (c) 2009-2010, 2013-2017. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -56,6 +56,8 @@
 
    End Algorithm: MPI_Allreduce
 */
+namespace simgrid{
+namespace smpi{
 int Coll_allreduce_mpich::allreduce(void *sbuf, void *rbuf, int count,
                         MPI_Datatype dtype, MPI_Op op, MPI_Comm comm)
 {
@@ -646,8 +648,6 @@ int Coll_allgatherv_mpich::allgatherv(void *sbuf, int scount,
 
    End Algorithm: MPI_Gather
 */
-namespace simgrid{
-namespace smpi{
 
 int Coll_gather_mpich::gather(void *sbuf, int scount, 
                                            MPI_Datatype sdtype,
@@ -662,9 +662,6 @@ int Coll_gather_mpich::gather(void *sbuf, int scount,
                                                       root, comm);
 }
 
-}
-}
-
 /* This is the default implementation of scatter. The algorithm is:
    
    Algorithm: MPI_Scatter
@@ -707,4 +704,6 @@ int Coll_scatter_mpich::scatter(void *sbuf, int scount,
   }
   return ret;
 }
+}
+}