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

Segmented copy #1346

Merged
merged 4 commits into from Jan 9, 2015
Merged

Segmented copy #1346

merged 4 commits into from Jan 9, 2015

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Jan 8, 2015

This adds the implementation of the segmented parallel::copy algorithm. It includes a couple of refinements to the iterators as exposed by hpx::vector.

@hkaiser
Copy link
Member Author

hkaiser commented Jan 9, 2015

@@ -228,25 +271,21 @@ namespace hpx

void increment()
{
HPX_ASSERT(data_);
++local_index_;
Copy link
Member

Choose a reason for hiding this comment

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

Why are the asserts not needed anymore?

Copy link
Member

Choose a reason for hiding this comment

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

Ok, it's not accessing data_, so i guess this is fine.

Copy link
Member Author

Choose a reason for hiding this comment

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

This iterator should work remotely as well in which case data_ will be zero.

hkaiser added a commit that referenced this pull request Jan 9, 2015
@hkaiser hkaiser merged commit 81e2b94 into master Jan 9, 2015
@hkaiser hkaiser deleted the distributed_copy branch January 9, 2015 18:57
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

2 participants