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

Making executor_traits N-nary #2127

Merged
merged 2 commits into from May 5, 2016
Merged

Making executor_traits N-nary #2127

merged 2 commits into from May 5, 2016

Conversation

hkaiser
Copy link
Member

@hkaiser hkaiser commented Apr 28, 2016

This fixes #2104

The breaking change is that the bulk- async_execute was renamed to bulk_async_execute and the bulk- execute was renamed to bulk_execute

policy_.template apply<action_type>(
threads::thread_priority_default, std::forward<F>(f));
policy_.template apply<action_type>(threads::thread_priority_default,
std::forward<F>(f), std::forward<Ts>(ts)...);
Copy link
Member

Choose a reason for hiding this comment

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

Do we really execute something that's not an action with a distribution policy?

Copy link
Member Author

Choose a reason for hiding this comment

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

Well, nothing has changed relatively to the implementation of distribution_policies. I'd be happy to discuss this on a separate PR.

Copy link
Member

Choose a reason for hiding this comment

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

Yeah, it just occurred to me when reading through the code

- making task_block::run N-Nary as well
- renamed bulk operations to bulk_async_execute and bulk_execute
- flyby: making sequencers const
- flyby: switched is_launch_policy and friends to type_traits
- extending tests
- flyby: changing result type calculation to use deferred_result_of
- flyby: adding missing #includes
@hkaiser hkaiser merged commit 2a5d82c into master May 5, 2016
@hkaiser hkaiser deleted the fixing_2104 branch May 5, 2016 02:13
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.

Make executor_traits N-nary
2 participants