Changeset 1500 for XIOS/dev/branch_openmp/extern/ep_dev/ep_type.hpp
- Timestamp:
- 05/28/18 09:54:32 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/extern/ep_dev/ep_type.hpp
r1499 r1500 12 12 #include <numeric> 13 13 #include <bitset> 14 //#include <memory.h>15 14 #include <algorithm> 16 15 #include <assert.h> … … 26 25 #define BUFFER_SIZE 10000 27 26 28 //#define NUM_THREADS 12 29 30 typedef std::pair< int, int > SIZE_RANK_INFO; // < rank, size> 31 32 typedef std::vector< std::pair<int, int> > RANK_MAP; // at(ep_rank) = <ep_rank_local, mpi_rank> 33 34 typedef std::vector<std::pair< std::pair<int, int>, std::pair<int, int> > > INTERCOMM_RANK_MAP; 35 36 37 typedef struct 38 { 39 int first; 40 int second; 41 int third; 42 } Triple_int; 27 #include "ep_status.hpp" 28 #include "ep_request.hpp" 29 #include "ep_info.hpp" 30 #include "ep_message.hpp" 31 #include "ep_barrier.hpp" 32 #include "ep_comm.hpp" 33 #include "ep_intercomm.hpp" 34 #include "ep_window.hpp" 35 36 37 //typedef std::pair< int, int > SIZE_RANK_INFO; // < rank, size> 38 39 //typedef std::vector< std::pair<int, int> > RANK_MAP; // at(ep_rank) = <ep_rank_local, mpi_rank> 40 //typedef std::map<int, std::pair<int, int> > EP_RANK_MAP; // key(ep_rank) = <ep_rank_local, mpi_rank> 41 42 //typedef std::vector<std::pair< std::pair<int, int>, std::pair<int, int> > > INTERCOMM_RANK_MAP; 43 43 44 44 45 namespace ep_lib 45 46 { 46 //#define EP_UNDEFINED -3276647 47 48 48 class ep_communicator; … … 50 50 class OMPbarrier; 51 51 typedef ep_communicator* EP_Comm; 52 class MPI_Comm;53 54 52 //class MPI_Comm; 53 54 /* 55 55 class MPI_Status 56 56 { … … 77 77 78 78 typedef std::list<MPI_Message > Message_list; 79 79 */ 80 80 81 81 class OMPbarrier … … 130 130 }; 131 131 132 /* 132 133 class ep_intercomm 133 134 { … … 152 153 bool operator != (ep_intercomm right); 153 154 154 155 156 }; 157 155 }; 158 156 159 157 class ep_communicator … … 247 245 }; 248 246 249 247 */ 250 248 251 249 class MPI_Aint … … 274 272 }; 275 273 276 class MPI_Win 277 { 278 public: 279 bool is_ep; 280 MPI_Comm comm; 281 282 void* server_win[16]; 283 void* client_win; 284 void* null_win[16]; 285 }; 274 286 275 287 276
Note: See TracChangeset
for help on using the changeset viewer.