-
Notifications
You must be signed in to change notification settings - Fork 937
Add multithreading support in PML UCX framework. #3168
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
f7ca4d3 to
2aea543
Compare
5c07acd to
d863295
Compare
yosefe
left a comment
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.
looks good, pls add error messages
| attr.field_mask = UCP_WORKER_ATTR_FIELD_THREAD_MODE; | ||
| status = ucp_worker_query(ompi_pml_ucx.ucp_worker, &attr); | ||
| if (UCS_OK != status) { | ||
| ucp_worker_destroy(ompi_pml_ucx.ucp_worker); |
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.
pls add PML_UCX_ERROR message
| if (ompi_mpi_thread_multiple && attr.thread_mode != UCS_THREAD_MODE_MULTI) { | ||
| /* UCX does not support multithreading, disqualify current PML for now */ | ||
| /* TODO: we should let OMPI to fallback to THREAD_SINGLE mode */ | ||
| ucp_worker_destroy(ompi_pml_ucx.ucp_worker); |
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.
pls add PML_UCX_ERROR message
d863295 to
dc86874
Compare
Signed-off-by: Xin Zhao <xinz@mellanox.com>
dc86874 to
6a99c60
Compare
|
@yosefe please check off on the review if its ready to go. |
|
@bwbarrett good to go! |
No description provided.