18 template <
typename InputIteratorT,
typename UniqueOutputIteratorT,
typename LengthsOutputIteratorT,
typename NumRunsOutputIteratorT>
20 UniqueOutputIteratorT d_unique_out,
21 LengthsOutputIteratorT d_counts_out,
22 NumRunsOutputIteratorT d_num_runs_out,
25 MUDA_CUB_WRAPPER_IMPL(cub::DeviceRunLengthEncode::Encode(
26 d_temp_storage, temp_storage_bytes, d_in, d_unique_out, d_counts_out, d_num_runs_out, num_items, _stream,
false));
29 template <
typename InputIteratorT,
typename OffsetsOutputIteratorT,
typename LengthsOutputIteratorT,
typename NumRunsOutputIteratorT>
31 OffsetsOutputIteratorT d_offsets_out,
32 LengthsOutputIteratorT d_lengths_out,
33 NumRunsOutputIteratorT d_num_runs_out,
36 MUDA_CUB_WRAPPER_IMPL(cub::DeviceRunLengthEncode::NonTrivialRuns(
37 d_temp_storage, temp_storage_bytes, d_in, d_offsets_out, d_lengths_out, d_num_runs_out, num_items, _stream,
false));
43 template <
typename InputIteratorT,
typename UniqueOutputIteratorT,
typename LengthsOutputIteratorT,
typename NumRunsOutputIteratorT>
45 size_t& temp_storage_bytes,
47 UniqueOutputIteratorT d_unique_out,
48 LengthsOutputIteratorT d_counts_out,
49 NumRunsOutputIteratorT d_num_runs_out,
52 MUDA_CUB_WRAPPER_FOR_COMPUTE_GRAPH_IMPL(cub::DeviceRunLengthEncode::Encode(
53 d_temp_storage, temp_storage_bytes, d_in, d_unique_out, d_counts_out, d_num_runs_out, num_items, _stream,
false));
56 template <
typename InputIteratorT,
typename OffsetsOutputIteratorT,
typename LengthsOutputIteratorT,
typename NumRunsOutputIteratorT>
58 size_t& temp_storage_bytes,
60 OffsetsOutputIteratorT d_offsets_out,
61 LengthsOutputIteratorT d_lengths_out,
62 NumRunsOutputIteratorT d_num_runs_out,
65 MUDA_CUB_WRAPPER_FOR_COMPUTE_GRAPH_IMPL(cub::DeviceRunLengthEncode::NonTrivialRuns(
66 d_temp_storage, temp_storage_bytes, d_in, d_offsets_out, d_lengths_out, d_num_runs_out, num_items, _stream,
false));