DeviceSegmentedReduce Struct Reference

DeviceSegmentedReduce Struct Reference#

hipCUB: hipcub::DeviceSegmentedReduce Struct Reference
hipcub::DeviceSegmentedReduce Struct Reference

Static Public Member Functions

template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT , typename ReductionOp , typename T >
static __host__ hipError_t Reduce (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, ReductionOp reduction_op, T initial_value, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT >
static __host__ hipError_t Sum (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT >
static __host__ hipError_t Min (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT >
static __host__ hipError_t ArgMin (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT >
static __host__ hipError_t Max (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT >
static __host__ hipError_t ArgMax (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT , typename ReductionOp , typename T >
static __host__ hipError_t Reduce (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, ReductionOp reduction_op, T initial_value, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT >
static __host__ hipError_t Sum (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT >
static __host__ hipError_t Min (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT >
static __host__ hipError_t ArgMin (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT >
static __host__ hipError_t Max (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, hipStream_t stream=0, bool debug_synchronous=false)
 
template<typename InputIteratorT , typename OutputIteratorT , typename OffsetIteratorT >
static __host__ hipError_t ArgMax (void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, int num_segments, OffsetIteratorT d_begin_offsets, OffsetIteratorT d_end_offsets, hipStream_t stream=0, bool debug_synchronous=false)
 

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