Skip to content

Commit dd1b58f

Browse files
committed
Progress CR in ompi_request_wait_completion before creating a sync
Signed-off-by: Joseph Schuchart <schuchart@icl.utk.edu>
1 parent faff2dd commit dd1b58f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ompi/request/request.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,11 @@ static inline bool ompi_request_tag_is_collective(int tag) {
429429

430430
static inline void ompi_request_wait_completion(ompi_request_t *req)
431431
{
432+
#if OMPI_HAVE_MPI_EXT_CONTINUE
433+
if (OMPI_REQUEST_CONT == req->req_type) {
434+
ompi_continue_progress_request(req);
435+
}
436+
#endif /* OMPI_HAVE_MPI_EXT_CONTINUE */
432437
if (opal_using_threads ()) {
433438
if(!REQUEST_COMPLETE(req)) {
434439
void *_tmp_ptr;

0 commit comments

Comments
 (0)