template<typename T, int BLOCK_DIM_X, int ITEMS_PER_THREAD, int BINS, int BLOCK_DIM_Y, int BLOCK_DIM_Z, int PTX_ARCH>
struct cub::BlockHistogramSort< T, BLOCK_DIM_X, ITEMS_PER_THREAD, BINS, BLOCK_DIM_Y, BLOCK_DIM_Z, PTX_ARCH >
The BlockHistogramSort class provides sorting-based methods for constructing block-wide histograms from data samples partitioned across a CUDA thread block.
< The PTX compute capability for which to to specialize this collective
Definition at line 60 of file block_histogram_sort.cuh.
template<typename T , int BLOCK_DIM_X, int ITEMS_PER_THREAD, int BINS, int BLOCK_DIM_Y, int BLOCK_DIM_Z, int PTX_ARCH>
template<typename CounterT >
__device__ __forceinline__ void cub::BlockHistogramSort< T, BLOCK_DIM_X, ITEMS_PER_THREAD, BINS, BLOCK_DIM_Y, BLOCK_DIM_Z, PTX_ARCH >::Composite |
( |
T(&) |
items[ITEMS_PER_THREAD], |
|
|
CounterT |
histogram[BINS] |
|
) |
| |
|
inline |
- Parameters
-
[in] | items | Calling thread's input values to histogram |
[out] | histogram | Reference to shared/device-accessible memory histogram |
Definition at line 162 of file block_histogram_sort.cuh.