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

Commit ed9945e

Browse files
authored
Merge pull request #1471 from lilohuang/main
Reduce scan_by_key memory consumption
2 parents ce483aa + a9143cf commit ed9945e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

thrust/system/detail/generic/scan_by_key.inl

+2-2
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ __host__ __device__
108108
AssociativeOperator binary_op)
109109
{
110110
using OutputType = typename thrust::iterator_traits<InputIterator2>::value_type;
111-
using HeadFlagType = thrust::detail::uint32_t;
111+
using HeadFlagType = thrust::detail::uint8_t;
112112

113113
const size_t n = last1 - first1;
114114

@@ -204,7 +204,7 @@ __host__ __device__
204204
AssociativeOperator binary_op)
205205
{
206206
using OutputType = T;
207-
using HeadFlagType = thrust::detail::uint32_t;
207+
using HeadFlagType = thrust::detail::uint8_t;
208208

209209
const size_t n = last1 - first1;
210210

0 commit comments

Comments
 (0)