cub::DispatchAdjacentDifference#

template<typename InputIteratorT, typename OutputIteratorT, typename DifferenceOpT, typename OffsetT, MayAlias AliasOpt, ReadOption ReadOpt, typename PolicyHub = detail::adjacent_difference::policy_hub<InputIteratorT, AliasOpt == MayAlias::Yes>>
struct DispatchAdjacentDifference#

Public Types

using InputT = detail::it_value_t<InputIteratorT>#

Public Functions

inline DispatchAdjacentDifference(
void *d_temp_storage,
size_t &temp_storage_bytes,
InputIteratorT d_input,
OutputIteratorT d_output,
OffsetT num_items,
DifferenceOpT difference_op,
cudaStream_t stream,
)#
template<typename ActivePolicyT>
inline cudaError_t Invoke()#

Invocation.

Public Members

void *d_temp_storage#
size_t &temp_storage_bytes#
InputIteratorT d_input#
OutputIteratorT d_output#
OffsetT num_items#
DifferenceOpT difference_op#
cudaStream_t stream#

Public Static Functions

static inline cudaError_t Dispatch(
void *d_temp_storage,
size_t &temp_storage_bytes,
InputIteratorT d_input,
OutputIteratorT d_output,
OffsetT num_items,
DifferenceOpT difference_op,
cudaStream_t stream,
)#