Struct DeviceSegmentedReduce¶
Defined in File device_segmented_reduce.hpp
Struct Documentation¶
-
struct hipcub::DeviceSegmentedReduce¶
Public Static Functions
-
template<typename InputIteratorT, typename OutputIteratorT, typename OffsetIteratorT, typename ReductionOp, typename T>
__host__ static inline 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>
__host__ static inline 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>
__host__ static inline 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>
__host__ static inline 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>
__host__ static inline 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>
__host__ static inline 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>
__host__ static inline 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>
__host__ static inline 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>
__host__ static inline 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>
__host__ static inline 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>
__host__ static inline 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>
__host__ static inline 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>