DeviceReduce Class Reference

DeviceReduce Class Reference#

hipCUB: hipcub::DeviceReduce Class Reference
hipcub::DeviceReduce Class Reference

Static Public Member Functions

template<typename InputIteratorT , typename OutputIteratorT , typename ReduceOpT , typename T >
static __host__ hipError_t Reduce (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, ReduceOpT reduction_op, T init, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT >
static __host__ hipError_t Sum (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT >
static __host__ hipError_t Min (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT >
static __host__ hipError_t ArgMin (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT >
static __host__ hipError_t Max (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT >
static __host__ hipError_t ArgMax (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename KeysInputIteratorT , typename UniqueOutputIteratorT , typename ValuesInputIteratorT , typename AggregatesOutputIteratorT , typename NumRunsOutputIteratorT , typename ReductionOpT >
static __host__ hipError_t ReduceByKey (void *d_temp_storage, size_t &temp_storage_bytes, KeysInputIteratorT d_keys_in, UniqueOutputIteratorT d_unique_out, ValuesInputIteratorT d_values_in, AggregatesOutputIteratorT d_aggregates_out, NumRunsOutputIteratorT d_num_runs_out, ReductionOpT reduction_op, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename ReduceOpT , typename T >
static __host__ hipError_t Reduce (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, ReduceOpT reduction_op, T init, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT >
static __host__ hipError_t Sum (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT >
static __host__ hipError_t Min (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT >
static __host__ hipError_t ArgMin (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT >
static __host__ hipError_t Max (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT >
static __host__ hipError_t ArgMax (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename KeysInputIteratorT , typename UniqueOutputIteratorT , typename ValuesInputIteratorT , typename AggregatesOutputIteratorT , typename NumRunsOutputIteratorT , typename ReductionOpT >
static __host__ hipError_t ReduceByKey (void *d_temp_storage, size_t &temp_storage_bytes, KeysInputIteratorT d_keys_in, UniqueOutputIteratorT d_unique_out, ValuesInputIteratorT d_values_in, AggregatesOutputIteratorT d_aggregates_out, NumRunsOutputIteratorT d_num_runs_out, ReductionOpT reduction_op, int num_items, hipStream_t stream=0, bool debug_synchronous=false)
 

The documentation for this class was generated from the following file:
  • /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-hipcub/checkouts/docs-5.4.3/hipcub/include/hipcub/backend/cub/device/device_reduce.hpp