Skip to content

Commit e2cf80b

Browse files
author
Mamzi Bayatpour mbayatpour@nvidia.com ()
committed
OSC/UCX: Fix the opal_progress call condition inside flush
Signed-off-by: Mamzi Bayatpour <mbayatpour@nvidia.com>
1 parent 5debb1a commit e2cf80b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opal/mca/common/ucx/common_ucx_wpool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ static inline int opal_common_ucx_wait_request_mt(ucs_status_ptr_t request, cons
294294
break;
295295
}
296296
ctr--;
297-
} while (ctr > 0 && ret > 0 && status == UCS_INPROGRESS);
297+
} while (ctr > 0 && ret == 0 && status == UCS_INPROGRESS);
298298
opal_mutex_unlock(&winfo->mutex);
299299
if (!ctr) {
300300
opal_progress();

0 commit comments

Comments
 (0)