Skip to content

Commit

Permalink
Update thrust/thrust/system/tbb/detail/reduce_by_key.inl
Browse files Browse the repository at this point in the history
Co-authored-by: Georgii Evtushenko <[email protected]>
  • Loading branch information
bernhardmgruber and gevtushenko committed Jul 25, 2024
1 parent b55eccd commit e781f99
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions thrust/thrust/system/tbb/detail/reduce_by_key.inl
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ inline L divide_ri(const L x, const R y)
template <typename InputIterator, typename BinaryFunction, typename SFINAE = void>
struct partial_sum_type
{
using value_t = thrust::iterator_value_t<InputIterator>;
// TODO(bgruber): unify with CUB's accumulator_t
using type = ::cuda::std::__decay_t<typename ::cuda::std::__invoke_of<BinaryFunction, value_t, value_t>::type>;
using type = thrust::iterator_value_t<InputIterator>;
};


Expand Down

0 comments on commit e781f99

Please sign in to comment.