Test
-
inline bool mpicpp_lite::test(const Request &request)
Test for the completion of a request.
- Parameters:
request – Request to test
- Returns:
true
if operation completed,false
otherwise
-
inline bool mpicpp_lite::test(const Request &request, Status &status)
Test for the completion of a request with status.
-
inline bool mpicpp_lite::test_all(const std::vector<Request> &requests)
Test for the completion of all previously initiated requests.
- Parameters:
requests – Requests to test
- Returns:
true
only if all requests have completed,false
otherwise
-
inline bool mpicpp_lite::test_any(const std::vector<Request> &requests, std::size_t &index)
Test for completion of any previously initiated requests.
- Parameters:
requests – Requests to test
index – Index of operation that completed or
UNDEFINED
if none completed
- Returns:
true
if one of the operations is complete