Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
reduce the amount of includes
[simgrid.git] / src / smpi / colls / alltoall / alltoall-pair.cpp
index 1f1f5ef..fae85c5 100644 (file)
@@ -1,10 +1,11 @@
-/* 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"
+#include "src/smpi/smpi_win.hpp"
 
 /*****************************************************************************
 
@@ -27,7 +28,8 @@
  * Auther: Ahmad Faraj
 
  ****************************************************************************/
-
+namespace simgrid{
+namespace smpi{
 int Coll_alltoall_pair_rma::alltoall(void *send_buff, int send_count, MPI_Datatype send_type,
                   void *recv_buff, int recv_count, MPI_Datatype recv_type,
                   MPI_Comm comm)
@@ -96,3 +98,5 @@ int Coll_alltoall_pair::alltoall(void *send_buff, int send_count,
 
   return MPI_SUCCESS;
 }
+}
+}