AQUAgpusph 5.0.4
|
Functions | |
void | error_handler (MPI_Comm UNUSED_PARAM *comm, int *err,...) |
std::string | error_str (int errorcode) |
Wrapper for MPI_Error_string() | |
void | init (int *argc, char ***argv) |
Wrapper for MPI_Init() | |
void | finalize () |
Wrapper for MPI_Finalize() | |
int | rank (MPI_Comm comm) |
Wrapper for MPI_Comm_rank() | |
int | size (MPI_Comm comm) |
Wrapper for MPI_Comm_size() | |
void | barrier (MPI_Comm comm) |
Wrapper for MPI_Barrier() | |
void | send (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) |
Wrapper for MPI_Send() | |
MPI_Request | isend (const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) |
Wrapper for MPI_Isend() | |
MPI_Status | recv (void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm) |
Wrapper for MPI_Recv() | |
MPI_Request | irecv (void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm) |
Wrapper for MPI_Irecv() | |
MPI_Status | wait (MPI_Request *request) |
Wrapper for MPI_Wait() |
DECLDIR void Aqua::MPI::barrier | ( | MPI_Comm | comm | ) |
Wrapper for MPI_Barrier()
comm | Communicator |
std::runtime_error | If MPI errors are detected |
void Aqua::MPI::error_handler | ( | MPI_Comm UNUSED_PARAM * | comm, |
int * | err, | ||
... ) |
std::string Aqua::MPI::error_str | ( | int | errorcode | ) |
DECLDIR void Aqua::MPI::finalize | ( | ) |
Wrapper for MPI_Finalize()
std::runtime_error | If MPI errors are detected |
DECLDIR void Aqua::MPI::init | ( | int * | argc, |
char *** | argv ) |
Wrapper for MPI_Init()
argc | Pointer to the number of arguments |
argv | Argument vector |
std::runtime_error | If MPI errors are detected |
MPI_Request Aqua::MPI::irecv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | source, | ||
int | tag, | ||
MPI_Comm | comm ) |
Wrapper for MPI_Irecv()
buf | Initial address of receive buffer |
count | Number of elements in receive buffer |
datatype | Datatype of each receive buffer element |
source | Rank of source |
tag | Message tag |
comm | Communicator |
std::runtime_error | If MPI errors are detected |
MPI_Request Aqua::MPI::isend | ( | const void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm | comm ) |
Wrapper for MPI_Isend()
buf | Initial address of send buffer |
count | Number of elements in send buffer |
datatype | Datatype of each send buffer element |
dest | Rank of destination |
tag | Message tag |
comm | Communicator |
std::runtime_error | If MPI errors are detected |
int Aqua::MPI::rank | ( | MPI_Comm | comm | ) |
Wrapper for MPI_Comm_rank()
comm | Communicator |
std::runtime_error | If MPI errors are detected |
MPI_Status Aqua::MPI::recv | ( | void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | source, | ||
int | tag, | ||
MPI_Comm | comm ) |
Wrapper for MPI_Recv()
buf | Initial address of receive buffer |
count | Number of elements in receive buffer |
datatype | Datatype of each receive buffer element |
source | Rank of source |
tag | Message tag |
comm | Communicator |
std::runtime_error | If MPI errors are detected |
void Aqua::MPI::send | ( | const void * | buf, |
int | count, | ||
MPI_Datatype | datatype, | ||
int | dest, | ||
int | tag, | ||
MPI_Comm | comm ) |
Wrapper for MPI_Send()
buf | Initial address of send buffer |
count | Number of elements in send buffer |
datatype | Datatype of each send buffer element |
dest | Rank of destination |
tag | Message tag |
comm | Communicator |
std::runtime_error | If MPI errors are detected |
int Aqua::MPI::size | ( | MPI_Comm | comm | ) |
Wrapper for MPI_Comm_size()
comm | Communicator |
std::runtime_error | If MPI errors are detected |
MPI_Status Aqua::MPI::wait | ( | MPI_Request * | request | ) |
Wrapper for MPI_Wait()
request | Request |
std::runtime_error | If MPI errors are detected |