Skip to content

PML UCX: handle a synchronous send. #3347

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
Apr 26, 2017

Conversation

alinask
Copy link
Member

@alinask alinask commented Apr 13, 2017

MCA_PML_BASE_SEND_SYNCHRONOUS

Signed-off-by: Alina Sklarevich [email protected]

MCA_PML_BASE_SEND_SYNCHRONOUS

Signed-off-by: Alina Sklarevich <[email protected]>
mca_pml_ucx_get_datatype(datatype),
PML_UCX_MAKE_SEND_TAG(tag, comm),
mca_pml_ucx_send_completion);
req = mca_pml_ucx_tag_send_nb(ep, buf, count, mca_pml_ucx_get_datatype(datatype),
Copy link
Contributor

Choose a reason for hiding this comment

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

can we put the BUFFERED case into that function as well?

Copy link
Member Author

Choose a reason for hiding this comment

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

The BUFFERED code is a bit different so I didn't want to have the mode check twice.

Copy link
Contributor

Choose a reason for hiding this comment

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

currently for regular send the mode is checked twice (one to compare to BUFFERED, second time to compare to SYNCHRONOUS. Need to avoid the extra branch and reduce code duplication

@hppritcha
Copy link
Member

Please open PR's against 3.x and 2.1.x once this is merged in to master.

@jladd-mlnx jladd-mlnx added the bug label Apr 13, 2017
@alinask
Copy link
Member Author

alinask commented Apr 26, 2017

@yosefe @alex-mikheev Can you please review?

@yosefe yosefe merged commit f568475 into open-mpi:master Apr 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants