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
Segmented copy #1346
Conversation
@@ -228,25 +271,21 @@ namespace hpx | |||
|
|||
void increment() | |||
{ | |||
HPX_ASSERT(data_); | |||
++local_index_; |
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.
Why are the asserts not needed anymore?
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.
Ok, it's not accessing data_, so i guess this is fine.
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.
This iterator should work remotely as well in which case data_
will be zero.
This adds the implementation of the segmented
parallel::copy
algorithm. It includes a couple of refinements to the iterators as exposed byhpx::vector
.