Skip to content

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

Merged
merged 2 commits into from
Dec 5, 2018
Merged

Osc/mt v4 tmp #9

merged 2 commits into from
Dec 5, 2018

Conversation

xinzhao3
Copy link

@xinzhao3 xinzhao3 commented Dec 5, 2018

No description provided.

@@ -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,
Copy link
Owner

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);
Copy link
Owner

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;
Copy link
Owner

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;
Copy link
Owner

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);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

status == UCS_INPROGRESS

@xinzhao3
Copy link
Author

xinzhao3 commented Dec 5, 2018

@artpol84 could you review again?

@artpol84 artpol84 merged commit fb15c73 into artpol84:osc/mt_v4 Dec 5, 2018
@xinzhao3 xinzhao3 deleted the osc/mt_v4_tmp branch December 5, 2018 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants