source: XIOS/dev/dev_trunk_omp/extern/src_ep_dev/ep_lib_local.hpp @ 1646

Last change on this file since 1646 was 1646, checked in by yushan, 5 years ago

branch merged with trunk @1645. arch file (ep&mpi) added for ADA

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