An opaque wrapper for MPI_Request with a vendor-independent representation without any <mpi.h>
header.
More...
Public Types | |
typedef std::intptr_t | value_type |
Storage for MPI_Request (as integer or pointer) More... | |
Public Member Functions | |
Request (const Request &) noexcept=default | |
Copy construct. More... | |
Request (Request &&) noexcept=default | |
Move construct. More... | |
Request & | operator= (const Request &) noexcept=default |
Copy assignment. More... | |
Request & | operator= (Request &&) noexcept=default |
Move assignment. More... | |
bool | operator== (const Request &rhs) const noexcept |
Test for equality. More... | |
bool | operator!= (const Request &rhs) const noexcept |
Test for inequality. More... | |
Request () noexcept | |
Default construct as MPI_REQUEST_NULL. More... | |
Request (const void *p) noexcept | |
Construct from MPI_Request (as pointer type) More... | |
Request (value_type val) noexcept | |
Construct from MPI_Request (as integer type) More... | |
value_type | value () const noexcept |
Return raw value. More... | |
const void * | pointer () const noexcept |
Return as pointer value. More... | |
bool | good () const noexcept |
True if not equal to MPI_REQUEST_NULL. More... | |
void | reset () noexcept |
Reset to default constructed value (MPI_REQUEST_NULL) More... | |
void | cancel () |
Same as calling UPstream::cancelRequest() More... | |
void | free () |
Same as calling UPstream::freeRequest() More... | |
bool | finished () |
Same as calling UPstream::finishedRequest() More... | |
void | wait () |
Same as calling UPstream::waitRequest() More... | |
An opaque wrapper for MPI_Request with a vendor-independent representation without any <mpi.h>
header.
The MPI standard states that MPI_Request is always an opaque object. Generally it is either an integer (eg, mpich) or a pointer (eg, openmpi).
Definition at line 1741 of file UPstream.H.
typedef std::intptr_t value_type |
Storage for MPI_Request (as integer or pointer)
Definition at line 1750 of file UPstream.H.
|
noexcept |
Default construct as MPI_REQUEST_NULL.
Definition at line 25 of file UPstreamRequest.C.
|
inlineexplicitnoexcept |
Construct from MPI_Request (as pointer type)
Definition at line 1816 of file UPstream.H.
|
inlineexplicitnoexcept |
Construct from MPI_Request (as integer type)
Definition at line 1824 of file UPstream.H.
|
inlinenoexcept |
Test for equality.
Definition at line 1792 of file UPstream.H.
|
inlinenoexcept |
Test for inequality.
Definition at line 1800 of file UPstream.H.
|
inlinenoexcept |
Return raw value.
Definition at line 1835 of file UPstream.H.
|
inlinenoexcept |
Return as pointer value.
Definition at line 1840 of file UPstream.H.
|
noexcept |
True if not equal to MPI_REQUEST_NULL.
Definition at line 33 of file UPstreamRequest.C.
|
noexcept |
Reset to default constructed value (MPI_REQUEST_NULL)
Definition at line 39 of file UPstreamRequest.C.
|
inline |
Same as calling UPstream::cancelRequest()
Definition at line 1858 of file UPstream.H.
References UPstream::cancelRequest().
|
inline |
Same as calling UPstream::freeRequest()
Definition at line 1863 of file UPstream.H.
References UPstream::freeRequest().
|
inline |
Same as calling UPstream::finishedRequest()
Definition at line 1868 of file UPstream.H.
References UPstream::finishedRequest().
|
inline |
Same as calling UPstream::waitRequest()
Definition at line 1873 of file UPstream.H.
References UPstream::waitRequest().
Referenced by PPCG::scalarSolveCG().