-
Notifications
You must be signed in to change notification settings - Fork 1
Osc/mt v4 tmp #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -1228,22 +1228,25 @@ opal_common_ucx_tlocal_fetch_spath(opal_common_ucx_wpmem_t *mem, int target) | |||
} | |||
|
|||
OPAL_DECLSPEC int | |||
opal_common_ucx_flush(ucp_ep_h ep, ucp_worker_h worker, | |||
opal_common_ucx_flush(opal_common_ucx_winfo_t *winfo, int target, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change the name to opal_common_ucx_winfo_flush
to indicate that it is specific for wpool.
} | ||
ctr--; | ||
} while (ctr > 0 && ret > 0); | ||
opal_mutex_unlock(&winfo->mutex); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
call opal_progress()
if (status != UCS_INPROGRESS) { | ||
ucp_request_free(request); | ||
if (OPAL_LIKELY(UCS_OK == status)) { | ||
return OPAL_SUCCESS; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to unlock
msg ? msg : __func__, | ||
UCS_PTR_STATUS(request), | ||
ucs_status_string(UCS_PTR_STATUS(request))); | ||
return OPAL_ERROR; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unlock
break; | ||
} | ||
ctr--; | ||
} while (ctr > 0 && ret > 0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
status == UCS_INPROGRESS
b9e0005
to
6803668
Compare
@artpol84 could you review again? |
No description provided.