From: degomme Date: Tue, 14 Mar 2017 22:23:01 +0000 (+0100) Subject: hide this from users X-Git-Tag: v3_15~115 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/dae0945417b60dd56b2d01d3190873f1c7eee08d hide this from users --- diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index 504325141e..dd0942760c 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -225,12 +225,6 @@ typedef enum MPIR_Combiner_enum{ MPI_COMBINER_HINDEXED_BLOCK }MPIR_Combiner_enum; -typedef enum MPIR_Topo_type { - MPI_GRAPH=1, - MPI_CART=2, - MPI_DIST_GRAPH=3, - MPI_INVALID_TOPO=-1 -} MPIR_Topo_type; typedef ptrdiff_t MPI_Aint; typedef long long MPI_Offset; diff --git a/src/smpi/private.h b/src/smpi/private.h index a4ca5d8000..ed5438679f 100644 --- a/src/smpi/private.h +++ b/src/smpi/private.h @@ -16,6 +16,7 @@ #include "xbt/xbt_os_time.h" #include "src/smpi/smpi_f2c.hpp" #include "src/smpi/smpi_group.hpp" +#include "src/smpi/smpi_topo.hpp" #include "src/smpi/smpi_coll.hpp" #include "src/smpi/smpi_comm.hpp" #include "src/smpi/smpi_info.hpp" @@ -23,7 +24,6 @@ #include "src/smpi/smpi_datatype.hpp" #include "src/smpi/smpi_datatype_derived.hpp" #include "src/smpi/smpi_request.hpp" -#include "src/smpi/smpi_topo.hpp" #include "src/smpi/smpi_win.hpp" SG_BEGIN_DECL() diff --git a/src/smpi/smpi_topo.hpp b/src/smpi/smpi_topo.hpp index 6e421b4de0..472b927e1c 100644 --- a/src/smpi/smpi_topo.hpp +++ b/src/smpi/smpi_topo.hpp @@ -9,6 +9,12 @@ #include "private.h" +typedef enum MPIR_Topo_type { + MPI_GRAPH=1, + MPI_CART=2, + MPI_DIST_GRAPH=3, + MPI_INVALID_TOPO=-1 +} MPIR_Topo_type; namespace simgrid{ namespace smpi{