Changeset 1520 for XIOS/dev/branch_openmp/extern/src_ep_dev/ep_lib.hpp
- Timestamp:
- 06/04/18 19:25:08 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_openmp/extern/src_ep_dev/ep_lib.hpp
r1368 r1520 4 4 #include "ep_type.hpp" 5 5 #include "ep_lib_intercomm.hpp" 6 #include "ep_lib_intracomm.hpp" 6 7 #include "ep_lib_local.hpp" 7 8 #include "ep_lib_collective.hpp" 8 9 #include "ep_tag.hpp" 9 10 #include "ep_lib_fortran.hpp" 11 #include "ep_lib_win.hpp" 12 #include "ep_lib_mpi.hpp" 13 //#include "ep_mpi.hpp" 14 10 15 11 16 namespace ep_lib … … 33 38 34 39 int MPI_Get_count(const MPI_Status *status, MPI_Datatype datatype, int *count); 35 36 // #ifdef _openmpi37 // int MPI_Comm_create_endpoints(void* mpi_comm, int num_ep, MPI_Info info, MPI_Comm *& out_comm_hdls); // from MPI to create endpoints38 // #elif _intelmpi39 // int MPI_Comm_create_endpoints(int mpi_comm, int num_ep, MPI_Info info, MPI_Comm *& out_comm_hdls); // from MPI to create endpoints40 // #endif41 40 42 int MPI_Comm_ create_endpoints(void* base_comm_ptr, int num_ep, MPI_Info info, MPI_Comm *& out_comm_hdls); // from EP to create endpoints41 int MPI_Comm_remote_size(MPI_Comm comm, int *size); 43 42 44 43 int MPI_Send(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); … … 47 46 int MPI_Issend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); 48 47 49 int tag_combine(int real_tag, int src, int dest);50 int get_ep_rank(MPI_Comm comm, int ep_rank_loc, int mpi_rank);51 int get_ep_rank_intercomm(MPI_Comm comm, int ep_rank_loc, int mpi_rank);52 53 int Message_Check(MPI_Comm comm);54 int Request_Check();55 48 56 49 int MPI_Recv (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm, MPI_Status *status); … … 74 67 int MPI_Alloc_mem(unsigned long size, MPI_Info info, void *baseptr); 75 68 69 int MPI_Comm_test_inter(MPI_Comm comm, int *flag); 70 76 71 77 72 void check_sum_send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, int type); … … 81 76 bool valid_op(MPI_Op op); 82 77 78 int tag_combine(int real_tag, int src, int dest); 79 int get_ep_rank(MPI_Comm comm, int ep_rank_loc, int mpi_rank); 80 81 int Message_Check(MPI_Comm comm); 82 83 int Request_Check(); 84 85 int test_sendrecv(MPI_Comm comm); 86 87 83 88 } 84 89
Note: See TracChangeset
for help on using the changeset viewer.