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

Add missing specializations in execution policies #2141

Merged
merged 3 commits into from May 7, 2016

Conversation

mcopik
Copy link
Contributor

@mcopik mcopik commented May 2, 2016

Proper support for rebounded policies.


template <typename Executor, typename Parameters>
struct is_parallel_execution_policy<parallel_task_execution_policy_shim<Executor, Parameters>>
: std::true_type
{};
/// \endcond
Copy link
Member

Choose a reason for hiding this comment

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

The parallel_task_... policies are 'parallel' as well. Could you add those while you're at it as well, please?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Now 'parallel' are parallel, parallel_shim, parallel_task, parallel_task_shim and parallel_vector.
Which other am I missing in is_parallel_execution_policy? Or did you mean something else by 'add'?

Copy link
Member

Choose a reason for hiding this comment

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

That's what I meant, thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was already there, I think the diff was misleading ;-)

@hkaiser
Copy link
Member

hkaiser commented May 3, 2016

@hkaiser hkaiser merged commit bbe2690 into STEllAR-GROUP:master May 7, 2016
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