Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Hoeflinger <[email protected]>
  • Loading branch information
danhoeflinger committed Jan 13, 2025
1 parent 528e76a commit c8743ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions include/oneapi/dpl/pstl/algorithm_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -4289,7 +4289,7 @@ __pattern_shift_right(_Tag __tag, _ExecutionPolicy&& __exec, _BidirectionalItera
return __res.base();
}

template <typename _ForwardIterator, typename _IdxHashFunc, typename _RandomAccessIterator, class _IsVector>
template <class _ForwardIterator, class _IdxHashFunc, class _RandomAccessIterator, class _IsVector>
void
__brick_histogram(_ForwardIterator __first, _ForwardIterator __last, _IdxHashFunc __func,
_RandomAccessIterator __histogram_first, _IsVector) noexcept
Expand All @@ -4304,8 +4304,8 @@ __brick_histogram(_ForwardIterator __first, _ForwardIterator __last, _IdxHashFun
}
}

template <class _Tag, typename _ExecutionPolicy, typename _ForwardIterator, typename _Size, typename _IdxHashFunc,
typename _RandomAccessIterator>
template <class _Tag, class _ExecutionPolicy, class _ForwardIterator, class _Size, class _IdxHashFunc,
class _RandomAccessIterator>
void
__pattern_histogram(_Tag, _ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last,
_Size __num_bins, _IdxHashFunc __func, _RandomAccessIterator __histogram_first)
Expand All @@ -4317,8 +4317,8 @@ __pattern_histogram(_Tag, _ExecutionPolicy&& __exec, _ForwardIterator __first, _
__brick_histogram(__first, __last, __func, __histogram_first, typename _Tag::__is_vector{});
}

template <class _IsVector, typename _ExecutionPolicy, typename _RandomAccessIterator1, typename _Size,
typename _IdxHashFunc, typename _RandomAccessIterator2>
template <class _IsVector, class _ExecutionPolicy, class _RandomAccessIterator1, class _Size,
class _IdxHashFunc, class _RandomAccessIterator2>
void
__pattern_histogram(__parallel_tag<_IsVector>, _ExecutionPolicy&& __exec, _RandomAccessIterator1 __first,
_RandomAccessIterator1 __last, _Size __num_bins, _IdxHashFunc __func,
Expand Down
2 changes: 1 addition & 1 deletion include/oneapi/dpl/pstl/parallel_backend_serial.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ struct __thread_enumerable_storage
}

_StorageType&
get_with_id(std::uint32_t __i)
get_with_id(std::uint32_t /*__i*/)
{
return get_for_current_thread();
}
Expand Down

0 comments on commit c8743ab

Please sign in to comment.