Skip to content

Commit

Permalink
Merge pull request NVIDIA#1471 from lilohuang/main
Browse files Browse the repository at this point in the history
Reduce scan_by_key memory consumption
  • Loading branch information
alliepiper committed Jul 21, 2021
2 parents ce483aa + a9143cf commit ed9945e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions thrust/system/detail/generic/scan_by_key.inl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ __host__ __device__
AssociativeOperator binary_op)
{
using OutputType = typename thrust::iterator_traits<InputIterator2>::value_type;
using HeadFlagType = thrust::detail::uint32_t;
using HeadFlagType = thrust::detail::uint8_t;

const size_t n = last1 - first1;

Expand Down Expand Up @@ -204,7 +204,7 @@ __host__ __device__
AssociativeOperator binary_op)
{
using OutputType = T;
using HeadFlagType = thrust::detail::uint32_t;
using HeadFlagType = thrust::detail::uint8_t;

const size_t n = last1 - first1;

Expand Down

0 comments on commit ed9945e

Please sign in to comment.