-
-
Notifications
You must be signed in to change notification settings - Fork 450
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
Inclusive scan #1342
Inclusive scan #1342
Conversation
Conflicts: hpx/parallel/numeric.hpp
char const* const name_; | ||
|
||
friend class boost::serialization::access; | ||
|
||
template <typename Archive> | ||
void serialize(Archive& ar, unsigned int) | ||
{ |
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 is missing the name_ member, on purpose?
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.
The default constructors for the algorithms always set this value, no need to serialize it explicitly
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.
I see. wouldn't a static char const * Derived::name() be more appropriate than a distinct member?
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.
Either way would work. Both variations can be made constexpr
later on.
What I miss here is a testcase for the scan partitioner. |
Well, all tests for the various scan algorithms test this partitioner, though indirectly. |
Adding
exclusive_scan
andinclusive_scan
algorithm. This also addstransform_exclusive_scan
andtransform_inclusive_scan
. Irt also changes the implementation ofparallel::dispatch
andparallel::remote::dispatch
to use variadics.