[1134] | 1 | #ifndef EP_LIB_LOCAL_HPP_INCLUDED |
---|
| 2 | #define EP_LIB_LOCAL_HPP_INCLUDED |
---|
| 3 | |
---|
| 4 | namespace ep_lib |
---|
| 5 | { |
---|
| 6 | #ifdef _intelmpi |
---|
| 7 | typedef int MPI_Datatype; |
---|
| 8 | typedef int MPI_Op; |
---|
| 9 | #elif _openmpi |
---|
| 10 | typedef void* MPI_Datatype; |
---|
| 11 | typedef void* MPI_Op; |
---|
| 12 | #endif |
---|
| 13 | |
---|
[1287] | 14 | int MPI_Reduce_local (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int local_root, MPI_Comm comm); |
---|
[1134] | 15 | |
---|
| 16 | int MPI_Scan_local (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); |
---|
| 17 | |
---|
| 18 | int MPI_Exscan_local (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); |
---|
| 19 | |
---|
[1287] | 20 | int MPI_Bcast_local (void *buffer, int count, MPI_Datatype datatype, int local_root, MPI_Comm comm); |
---|
| 21 | |
---|
| 22 | int MPI_Gather_local (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, int local_root, MPI_Comm comm); |
---|
[1134] | 23 | |
---|
| 24 | int MPI_Gatherv_local (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, |
---|
[1287] | 25 | const int recvcounts[], const int displs[], int local_root, MPI_Comm comm); |
---|
[1134] | 26 | |
---|
[1287] | 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); |
---|
[1134] | 28 | |
---|
[1287] | 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); |
---|
[1134] | 31 | |
---|
[1289] | 32 | |
---|
| 33 | |
---|
| 34 | int MPI_Reduce_local2 (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); |
---|
| 35 | int MPI_Reduce_local_int (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 36 | int MPI_Reduce_local_float (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 37 | int MPI_Reduce_local_double(const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 38 | int MPI_Reduce_local_long (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 39 | int MPI_Reduce_local_ulong (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 40 | int MPI_Reduce_local_char (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | int MPI_Scan_local2 (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); |
---|
| 44 | int MPI_Scan_local_int (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 45 | int MPI_Scan_local_float (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 46 | int MPI_Scan_local_double(const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 47 | int MPI_Scan_local_long (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 48 | int MPI_Scan_local_ulong (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 49 | int MPI_Scan_local_char (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 50 | |
---|
| 51 | int MPI_Exscan_local2 (const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm); |
---|
| 52 | int MPI_Exscan_local_int (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 53 | int MPI_Exscan_local_float (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 54 | int MPI_Exscan_local_double(const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 55 | int MPI_Exscan_local_long (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 56 | int MPI_Exscan_local_ulong (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 57 | int MPI_Exscan_local_char (const void *sendbuf, void *recvbuf, int count, MPI_Op op, MPI_Comm comm); |
---|
| 58 | |
---|
| 59 | int MPI_Bcast_local2 (void *buffer, int count, MPI_Datatype datatype, MPI_Comm comm); |
---|
| 60 | int MPI_Bcast_local_int (void *buffer, int count, MPI_Comm comm); |
---|
| 61 | int MPI_Bcast_local_float (void *buffer, int count, MPI_Comm comm); |
---|
| 62 | int MPI_Bcast_local_double(void *buffer, int count, MPI_Comm comm); |
---|
| 63 | int MPI_Bcast_local_long (void *buffer, int count, MPI_Comm comm); |
---|
| 64 | int MPI_Bcast_local_ulong (void *buffer, int count, MPI_Comm comm); |
---|
| 65 | int MPI_Bcast_local_char (void *buffer, int count, MPI_Comm comm); |
---|
| 66 | |
---|
| 67 | int MPI_Gather_local2 (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, MPI_Comm comm); |
---|
| 68 | int MPI_Gather_local_int (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 69 | int MPI_Gather_local_float (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 70 | int MPI_Gather_local_double(const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 71 | int MPI_Gather_local_long (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 72 | int MPI_Gather_local_ulong (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 73 | int MPI_Gather_local_char (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | int MPI_Gatherv_local2 (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, |
---|
| 77 | const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
| 78 | int MPI_Gatherv_local_int (const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
| 79 | int MPI_Gatherv_local_float (const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
| 80 | int MPI_Gatherv_local_double(const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
| 81 | int MPI_Gatherv_local_long (const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
| 82 | int MPI_Gatherv_local_ulong (const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
| 83 | int MPI_Gatherv_local_char (const void *sendbuf, int count, void *recvbuf, const int recvcounts[], const int displs[], MPI_Comm comm); |
---|
| 84 | |
---|
| 85 | int MPI_Scatter_local2 (const void *sendbuf, int count, MPI_Datatype datatype, void *recvbuf, MPI_Comm comm); |
---|
| 86 | int MPI_Scatter_local_int (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 87 | int MPI_Scatter_local_float (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 88 | int MPI_Scatter_local_double(const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 89 | int MPI_Scatter_local_long (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 90 | int MPI_Scatter_local_ulong (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 91 | int MPI_Scatter_local_char (const void *sendbuf, int count, void *recvbuf, MPI_Comm comm); |
---|
| 92 | |
---|
| 93 | int MPI_Scatterv_local2 (const void *sendbuf, const int sendcounts[], const int displs[], MPI_Datatype datatype, void *recvbuf, MPI_Comm comm); |
---|
| 94 | int MPI_Scatterv_local_int (const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
| 95 | int MPI_Scatterv_local_float (const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
| 96 | int MPI_Scatterv_local_double(const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
| 97 | int MPI_Scatterv_local_long (const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
| 98 | int MPI_Scatterv_local_ulong (const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
| 99 | int MPI_Scatterv_local_char (const void *sendbuf, const int sendcounts[], const int displs[], void *recvbuf, MPI_Comm comm); |
---|
| 100 | |
---|
| 101 | int innode_memcpy(int sender, const void* sendbuf, int receiver, void* recvbuf, int count, MPI_Datatype datatype, MPI_Comm comm); |
---|
| 102 | |
---|
[1134] | 103 | int MPI_Barrier_local(MPI_Comm comm); |
---|
| 104 | |
---|
| 105 | } |
---|
| 106 | |
---|
| 107 | #endif // EP_LIB_LOCAL_HPP_INCLUDED |
---|