Test
-
inline bool mpicpp_lite::test(const Request &request)
Test for the completion of a request.
- Parameters:
request – Request to test
- Returns:
trueif operation completed,falseotherwise
-
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:
trueonly if all requests have completed,falseotherwise
-
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
UNDEFINEDif none completed
- Returns:
trueif one of the operations is complete