Rev | Line | |
---|
[1604] | 1 | #include "ep_lib.hpp" |
---|
| 2 | #include <mpi.h> |
---|
| 3 | #include "ep_declaration.hpp" |
---|
| 4 | #include <iostream> |
---|
| 5 | #include <fstream> |
---|
| 6 | #include "ep_mpi.hpp" |
---|
| 7 | |
---|
| 8 | using namespace std; |
---|
| 9 | |
---|
| 10 | |
---|
| 11 | namespace ep_lib |
---|
| 12 | { |
---|
| 13 | ep_comm::ep_comm(void* comm) |
---|
| 14 | { |
---|
| 15 | is_ep = false; |
---|
| 16 | is_intercomm = false; |
---|
| 17 | mpi_comm = static_cast< ::MPI_Comm*>(comm); |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | ep_info::ep_info(void* info) |
---|
| 21 | { |
---|
| 22 | mpi_info = static_cast< ::MPI_Info*>(info); |
---|
| 23 | } |
---|
| 24 | |
---|
| 25 | ep_request::ep_request(void* request) |
---|
| 26 | { |
---|
| 27 | mpi_request = static_cast< ::MPI_Request*>(request); |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | ep_status::ep_status(void* status) |
---|
| 31 | { |
---|
| 32 | mpi_status = static_cast< ::MPI_Status*>(status); |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | } |
---|
| 36 | |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | |
---|
Note: See
TracBrowser
for help on using the repository browser.