Template Class BlockHistogram

Inheritance Relationships

Base Type

  • private rocprim::block_histogram< T, BLOCK_DIM_X, ITEMS_PER_THREAD, BINS, static_cast<::rocprim::block_histogram_algorithm >(ALGORITHM), BLOCK_DIM_Y, BLOCK_DIM_Z >

Class Documentation

template<typename T, int BLOCK_DIM_X, int ITEMS_PER_THREAD, int BINS, BlockHistogramAlgorithm ALGORITHM = BLOCK_HISTO_SORT, int BLOCK_DIM_Y = 1, int BLOCK_DIM_Z = 1, int ARCH = HIPCUB_ARCH>
class BlockHistogram : private rocprim::block_histogram<T, BLOCK_DIM_X, ITEMS_PER_THREAD, BINS, static_cast<::rocprim::block_histogram_algorithm>(ALGORITHM), BLOCK_DIM_Y, BLOCK_DIM_Z>

Public Types

using TempStorage = typename base_type::storage_type

Public Functions

__device__ inline BlockHistogram()
__device__ inline BlockHistogram(TempStorage &temp_storage)
template<class CounterT>
__device__ inline void InitHistogram(CounterT histogram[BINS])
template<class CounterT>
__device__ inline void Composite(T (&items)[ITEMS_PER_THREAD], CounterT histogram[BINS])
template<class CounterT>
__device__ inline void Histogram(T (&items)[ITEMS_PER_THREAD], CounterT histogram[BINS])