Skip to content
This repository was archived by the owner on Mar 21, 2024. It is now read-only.

Reduce scan_by_key memory consumption #1471

Merged
merged 1 commit into from
Jul 21, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -109,7 +109,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 @@ -205,7 +205,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