Skip to content

Commit

Permalink
Revert "include/oneapi/dpl/pstl/execution_impl.h - use __is_random_ac…
Browse files Browse the repository at this point in the history
…cess_iterator_t instead of __is_random_access_iterato in dispatch tag specializations"

This reverts commit 87e15ef.
  • Loading branch information
Sergey Kopienko committed Mar 20, 2024
1 parent 5c9eaee commit 51b55b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/oneapi/dpl/pstl/execution_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ __select_backend(oneapi::dpl::execution::sequenced_policy, _IteratorTypes&&...)
}

template <class... _IteratorTypes>
__serial_tag<__internal::__is_random_access_iterator_t<_IteratorTypes...>>
__serial_tag<__internal::__is_random_access_iterator<_IteratorTypes...>>
__select_backend(oneapi::dpl::execution::unsequenced_policy, _IteratorTypes&&...)
{
return {};
Expand All @@ -94,7 +94,7 @@ __select_backend(oneapi::dpl::execution::parallel_policy, _IteratorTypes&&...)
}

template <class... _IteratorTypes>
__parallel_policy_tag_selector_t<__internal::__is_random_access_iterator_t<_IteratorTypes...>, _IteratorTypes...>
__parallel_policy_tag_selector_t<__internal::__is_random_access_iterator<_IteratorTypes...>, _IteratorTypes...>
__select_backend(oneapi::dpl::execution::parallel_unsequenced_policy, _IteratorTypes&&...)
{
return {};
Expand Down

0 comments on commit 51b55b1

Please sign in to comment.