The BlockHistogramAtomic class provides atomic-based methods for constructing block-wide histograms from data samples partitioned across a CUDA thread block. More...
The BlockHistogramAtomic class provides atomic-based methods for constructing block-wide histograms from data samples partitioned across a CUDA thread block.
Definition at line 49 of file block_histogram_atomic.cuh.
Data Structures | |
| struct | TempStorage |
| Shared memory storage layout type. More... | |
Public Member Functions | |
| __device__ __forceinline__ | BlockHistogramAtomic (TempStorage &temp_storage) |
| Constructor. | |
| template<typename T , typename CounterT , int ITEMS_PER_THREAD> | |
| __device__ __forceinline__ void | Composite (T(&items)[ITEMS_PER_THREAD], CounterT histogram[BINS]) |
| Composite data onto an existing histogram. | |
|
inline |
Constructor.
Definition at line 56 of file block_histogram_atomic.cuh.
|
inline |
Composite data onto an existing histogram.
| [in] | items | Calling thread's input values to histogram |
| [out] | histogram | Reference to shared/device-accessible memory histogram |
Definition at line 66 of file block_histogram_atomic.cuh.