-
Notifications
You must be signed in to change notification settings - Fork 115
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
Brick __brick_copy
specialized by _ExecutionPolicy
without std::decay_t
#2112
base: main
Are you sure you want to change the base?
Conversation
66d050a
to
91854a3
Compare
How about just removing oneDPL/include/oneapi/dpl/pstl/algorithm_impl.h Lines 1079 to 1105 in 417f118
oneDPL/include/oneapi/dpl/pstl/hetero/algorithm_impl_hetero.h Lines 416 to 425 in 417f118
_ExecutionPolicy is unused.
Maybe I am misunderstanding something, but to me it looks like all we need is a tag. |
I don't know the history why |
91854a3
to
90baee6
Compare
My guess is that when we added tag dispatching, we replaced the needed functionality from the policy with functionality from the Tag, but neglected to remove the policy parameter then. I agree that we can just remove this template parameter. |
Yes, @danhoeflinger, you are right:
template <typename _ExecutionPolicy>
struct __brick_copy<_ExecutionPolicy,
oneapi::dpl::__internal::__enable_if_hetero_execution_policy<_ExecutionPolicy, void>>
{
// ...
} |
|
Yes, before the tag dispatching policy type is used for type specialization.. |
As far as I understood @rarutyun on our offline discussion with him, he has opposite opinion.... |
In this PR we fix the issue #2110