source: XIOS/dev/branch_openmp/extern/ep_dev/ep_lib_win.hpp @ 1384

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

dev EP-RMA : MPI_Accumulate

File size: 999 bytes
Line 
1#ifndef EP_LIB_WIN_HPP_INCLUDED
2#define EP_LIB_WIN_HPP_INCLUDED
3
4namespace ep_lib
5{
6
7  typedef void* MPI_Datatype;
8  typedef void* MPI_Op;
9
10
11  int MPI_Win_create(void *base, MPI_Aint size, int disp_unit, MPI_Info info, MPI_Comm comm, MPI_Win *win);
12  int MPI_Win_free(MPI_Win *win);
13  int MPI_Win_fence(int assert, MPI_Win win);
14  int MPI_Put(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, 
15                  int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win);
16  int MPI_Get(void *origin_addr, int origin_count, MPI_Datatype origin_datatype, 
17                  int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Win win);
18
19  int MPI_Accumulate(const void *origin_addr, int origin_count, MPI_Datatype origin_datatype, 
20                         int target_rank, MPI_Aint target_disp, int target_count, MPI_Datatype target_datatype, MPI_Op op, MPI_Win win);
21}
22
23#endif // EP_LIB_COLLECTIVE_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.