Skip to content
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

Fix tuple serialization #2505

Merged
merged 4 commits into from Feb 16, 2017
Merged

Fix tuple serialization #2505

merged 4 commits into from Feb 16, 2017

Conversation

sithhell
Copy link
Member

Only tuple_impl<Is, Ts...> should be bitwise serialized

Flyby: Cleaning up MPI parcelport.

@@ -174,7 +174,7 @@ namespace hpx { namespace parcelset { namespace policies { namespace mpi
int ret = 0;
ret = MPI_Test(&r, &completed, status);
HPX_ASSERT(ret == MPI_SUCCESS);
if(completed)// && status->MPI_ERROR != MPI_ERR_PENDING)
if(completed)
Copy link
Member

Choose a reason for hiding this comment

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

What's the rationale of this change?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just deleting the comment. The code was never used and is not required.

struct is_bitwise_serializable<
::hpx::util::tuple<Ts...>
::hpx::util::detail::tuple_impl<Is, Ts...>
Copy link
Member

Choose a reason for hiding this comment

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

Excellent catch!

Copy link
Member

@hkaiser hkaiser left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Thomas Heller added 2 commits February 15, 2017 15:44
Only tuple_impl<Is, Ts...> should be bitwise serialized
 - Removed commented code
 - Removed unnecessary call to request_done
 - Removing impossible check in tag_provider
@hkaiser hkaiser merged commit b7db933 into master Feb 16, 2017
@hkaiser hkaiser deleted the fix_tuple_serialization branch February 16, 2017 00:35
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.

None yet

3 participants