Ignore:
Timestamp:
06/01/18 15:24:53 (6 years ago)
Author:
yushan
Message:

save dev

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/extern/ep_dev/ep_lib.hpp

    r1515 r1517  
    44#include "ep_type.hpp" 
    55#include "ep_lib_intercomm.hpp" 
     6#include "ep_lib_intracomm.hpp" 
    67#include "ep_lib_local.hpp" 
    78#include "ep_lib_collective.hpp" 
     
    1011#include "ep_lib_win.hpp" 
    1112#include "ep_lib_mpi.hpp" 
     13//#include "ep_mpi.hpp" 
    1214 
    1315 
     
    2830 
    2931  int MPI_Comm_free(MPI_Comm* comm); 
    30   int MPI_Comm_free_intracomm(MPI_Comm* comm); 
    3132 
    3233  int MPI_Finalize(); 
     
    3738 
    3839  int MPI_Get_count(const MPI_Status *status, MPI_Datatype datatype, int *count); 
    39  
    40   // #ifdef _openmpi 
    41   // int MPI_Comm_create_endpoints(void* mpi_comm, int num_ep, MPI_Info info, MPI_Comm *& out_comm_hdls); // from MPI to create endpoints 
    42   // #elif _intelmpi 
    43   // int MPI_Comm_create_endpoints(int mpi_comm, int num_ep, MPI_Info info, MPI_Comm *& out_comm_hdls); // from MPI to create endpoints 
    44   // #endif 
    4540   
    46   int MPI_Comm_create_endpoints(void* base_comm_ptr, int num_ep, MPI_Info info, MPI_Comm *& out_comm_hdls); // from EP to create endpoints 
     41  int MPI_Comm_remote_size(MPI_Comm comm, int *size); 
    4742 
    4843  int MPI_Send(void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm); 
     
    5146  int MPI_Issend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request); 
    5247 
    53   int tag_combine(int real_tag, int src, int dest); 
    54   int get_ep_rank(MPI_Comm comm, int ep_rank_loc, int mpi_rank); 
    55  
    56   int Message_Check(MPI_Comm comm); 
    57   int Message_Check_intracomm(MPI_Comm comm); 
    58   int Request_Check(); 
    5948 
    6049  int MPI_Recv  (void *buf, int count, MPI_Datatype datatype, int src, int tag, MPI_Comm comm, MPI_Status *status); 
     
    7867  int MPI_Alloc_mem(unsigned long size, MPI_Info info, void *baseptr); 
    7968 
     69  int MPI_Comm_test_inter(MPI_Comm comm, int *flag); 
     70 
    8071 
    8172  void check_sum_send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, int type); 
     
    8576  bool valid_op(MPI_Op op); 
    8677 
     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 
    8788} 
    8889 
Note: See TracChangeset for help on using the changeset viewer.