|
rocPRIM
|
Configuration of device-level histogram operation. More...
#include <device_config_helper.hpp>


Public Types | |
| using | histogram = HistogramConfig |
Additional Inherited Members | |
Public Attributes inherited from detail::histogram_config_params | |
| kernel_config_params | histogram_config = {0, 0} |
| unsigned int | max_grid_size = 0 |
| unsigned int | shared_impl_max_bins = 0 |
| unsigned int | shared_impl_histograms = 0 |
Configuration of device-level histogram operation.
| HistogramConfig | - configuration of histogram kernel. Must be kernel_config. |
| MaxGridSize | - maximum number of blocks to launch. |
| SharedImplMaxBins | - maximum total number of bins for all active channels for the shared memory histogram implementation (samples -> shared memory bins -> global memory bins), when exceeded the global memory implementation is used (samples -> global memory bins). |
| SharedImplHistograms | - number of histograms in the shared memory to reduce bank conflicts for atomic operations with narrow sample distributions. Sweetspot for 9xx and 10xx is 3. |
1.8.13