Skip to content

Conversation

@hoopoepg
Copy link
Contributor

@hoopoepg hoopoepg force-pushed the topic/reset-stack-on-unordered branch from 34c82c7 to 7c5de01 Compare May 17, 2018 10:11
@hoopoepg hoopoepg force-pushed the topic/reset-stack-on-unordered branch from 04824c5 to 19607da Compare May 17, 2018 13:42
@yosefe
Copy link
Contributor

yosefe commented May 21, 2018

@bosilca can you pls take a look?

Copy link
Member

@bosilca bosilca left a comment

Choose a reason for hiding this comment

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

I have a question about threading. As you keep the offset in the ucx_datatype how are you ensuring that if multiple threads unpack data in same time they do not collide on the use (and update) of the offset field?

/* permanently switch to un-ordered mode */
convertor->offset = 0;
} else {
opal_convertor_set_position(&convertor->opal_conv, &offset);
Copy link
Member

Choose a reason for hiding this comment

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

If you are here the convertor is already set at the right position, so the call to opal_convertor_set_position is unnecessary.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@bosilca fixed

@hoopoepg
Copy link
Contributor Author

UCX receives data in single thread only (even for cases out-of-order/multi-rail mode)

@hoopoepg hoopoepg force-pushed the topic/reset-stack-on-unordered branch from bc3d9b3 to 5ec2691 Compare May 21, 2018 16:40
@yosefe yosefe merged commit 385d91b into open-mpi:master May 21, 2018
@yosefe
Copy link
Contributor

yosefe commented May 21, 2018

@hoopoepg pls pick to v3.1.x

@hoopoepg
Copy link
Contributor Author

@yosefe done: #5179

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants