40 #include "dispatch/device_histogram_dispatch.cuh"
41 #include "../util_namespace.cuh"
126 typename InputIterator,
127 typename HistoCounter>
130 void *d_temp_storage,
131 size_t &temp_storage_bytes,
132 InputIterator d_samples,
133 HistoCounter* d_histogram,
135 cudaStream_t stream = 0,
136 bool debug_synchronous =
false)
142 typedef DeviceHistogramDispatch<
150 DeviceHistogramDispatch;
152 return DeviceHistogramDispatch::Dispatch(
214 typename InputIterator,
215 typename HistoCounter>
218 void *d_temp_storage,
219 size_t &temp_storage_bytes,
220 InputIterator d_samples,
221 HistoCounter* d_histogram,
223 cudaStream_t stream = 0,
224 bool debug_synchronous =
false)
230 typedef DeviceHistogramDispatch<
231 DEVICE_HISTO_SHARED_ATOMIC,
238 DeviceHistogramDispatch;
240 return DeviceHistogramDispatch::Dispatch(
302 typename InputIterator,
303 typename HistoCounter>
306 void *d_temp_storage,
307 size_t &temp_storage_bytes,
308 InputIterator d_samples,
309 HistoCounter* d_histogram,
311 cudaStream_t stream = 0,
312 bool debug_synchronous =
false)
318 typedef DeviceHistogramDispatch<
319 DEVICE_HISTO_GLOBAL_ATOMIC,
326 DeviceHistogramDispatch;
328 return DeviceHistogramDispatch::Dispatch(
409 typename InputIterator,
410 typename HistoCounter>
413 void *d_temp_storage,
414 size_t &temp_storage_bytes,
415 InputIterator d_samples,
416 HistoCounter *d_histograms[ACTIVE_CHANNELS],
418 cudaStream_t stream = 0,
419 bool debug_synchronous =
false)
425 typedef DeviceHistogramDispatch<
432 Offset> DeviceHistogramDispatch;
434 return DeviceHistogramDispatch::Dispatch(
507 typename InputIterator,
508 typename HistoCounter>
511 void *d_temp_storage,
512 size_t &temp_storage_bytes,
513 InputIterator d_samples,
514 HistoCounter *d_histograms[ACTIVE_CHANNELS],
516 cudaStream_t stream = 0,
517 bool debug_synchronous =
false)
523 typedef DeviceHistogramDispatch<
524 DEVICE_HISTO_SHARED_ATOMIC,
530 Offset> DeviceHistogramDispatch;
532 return DeviceHistogramDispatch::Dispatch(
606 typename InputIterator,
607 typename HistoCounter>
610 void *d_temp_storage,
611 size_t &temp_storage_bytes,
612 InputIterator d_samples,
613 HistoCounter *d_histograms[ACTIVE_CHANNELS],
615 cudaStream_t stream = 0,
616 bool debug_synchronous =
false)
622 typedef DeviceHistogramDispatch<
623 DEVICE_HISTO_GLOBAL_ATOMIC,
630 DeviceHistogramDispatch;
632 return DeviceHistogramDispatch::Dispatch(