Skip to content

Commit 01c71e9

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 3760e5f commit 01c71e9

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
@@ -430,6 +430,11 @@ static inline bool ompi_request_tag_is_collective(int tag) {
430430

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

0 commit comments

Comments
 (0)