Home | Libraries | People | FAQ | More |
boost::mpi::test_all — Tests whether all non-blocking requests have completed.
// In header: <boost/mpi/nonblocking.hpp> template<typename ForwardIterator, typename OutputIterator> optional< OutputIterator > test_all(ForwardIterator first, ForwardIterator last, OutputIterator out); template<typename ForwardIterator> bool test_all(ForwardIterator first, ForwardIterator last);
This routine takes in a set of requests stored in the iterator range [first,last) and determines whether all of these requests have been completed. However, due to limitations of the underlying MPI implementation, if any of the requests refers to a non-blocking send or receive of a serialized data type,
test_all
will always return the equivalent of false
(i.e., the requests cannot all be finished at this time). This routine performs the same functionality as wait_all
, except that this routine will not block. This routine provides functionality equivalent to MPI_Testall
.
Parameters: |
|
||||||
Returns: |
If an |