Skip to content

Commit

Permalink
Fix encode bench
Browse files Browse the repository at this point in the history
  • Loading branch information
gevtushenko committed Jun 20, 2023
1 parent 76c167a commit f751105
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion benchmarks/bench/run_length_encode/encode.cu
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ static void rle(nvbench::state &state, nvbench::type_list<T, OffsetT>)
accum_t,
device_reduce_by_key_policy_hub>;
#else
using policy_t = cub::detail::device_run_length_encode_policy_hub<accum_t, key_t>;
using dispatch_t = cub::DispatchReduceByKey<keys_input_it_t,
unique_output_it_t,
vals_input_it_t,
Expand All @@ -99,7 +100,8 @@ static void rle(nvbench::state &state, nvbench::type_list<T, OffsetT>)
equality_op_t,
reduction_op_t,
offset_t,
accum_t>;
accum_t,
policy_t>;
#endif

const auto elements = static_cast<std::size_t>(state.get_int64("Elements{io}"));
Expand Down

0 comments on commit f751105

Please sign in to comment.