source: XIOS/dev/branch_openmp/extern/ep_dev/ep_lib_local.hpp @ 1385

Last change on this file since 1385 was 1381, checked in by yushan, 6 years ago

add folder for MPI EP-RMA development. Current: MPI_Win, MPI_win_create, MPI_win_fence, MPI_win_free

File size: 1.4 KB
Line 
1#ifndef EP_LIB_LOCAL_HPP_INCLUDED
2#define EP_LIB_LOCAL_HPP_INCLUDED
3
4namespace ep_lib
5{
6
7  typedef void* MPI_Datatype;
8  typedef void* MPI_Op;
9
10
11  int MPI_Reduce_local       (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int local_root, MPI_Comm comm);
12
13  int MPI_Scan_local       (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm);
14
15  int MPI_Exscan_local       (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm);
16
17  int MPI_Bcast_local      (void *buffer, int count, MPI_Datatype datatype, int local_root, MPI_Comm comm);
18 
19  int MPI_Gather_local      (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, int local_root, MPI_Comm comm);
20
21  int MPI_Gatherv_local       (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf,
22                               const int recvcounts[], const int displs[], int local_root, MPI_Comm comm);
23
24  int MPI_Scatter_local(void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int local_root, MPI_Comm comm);
25
26  int MPI_Scatterv_local(const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype sendtype, void *recvbuf, int recvcount,
27                   MPI_Datatype recvtype, int local_root, MPI_Comm comm);
28
29  int MPI_Barrier_local(MPI_Comm comm);
30
31}
32
33#endif // EP_LIB_LOCAL_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.