Class DeviceScan¶
Defined in File device_scan.hpp
Class Documentation¶
-
class hipcub::DeviceScan¶
Public Static Functions
-
template<typename InputIteratorT, typename OutputIteratorT>
__host__ static inline hipError_t InclusiveSum(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, typename ScanOpT>
__host__ static inline hipError_t InclusiveScan(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, ScanOpT scan_op, int num_items, hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename InputIteratorT, typename OutputIteratorT>
__host__ static inline hipError_t ExclusiveSum(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, typename ScanOpT, typename InitValueT>
__host__ static inline hipError_t ExclusiveScan(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, ScanOpT scan_op, InitValueT init_value, int num_items, hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename InputIteratorT, typename OutputIteratorT, typename ScanOpT, typename InitValueT, typename InitValueIterT = InitValueT*>
__host__ static inline hipError_t ExclusiveScan(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, ScanOpT scan_op, FutureValue<InitValueT, InitValueIterT> init_value, int num_items, hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename KeysInputIteratorT, typename ValuesInputIteratorT, typename ValuesOutputIteratorT, typename EqualityOpT = ::hipcub::Equality>
__host__ static inline hipError_t ExclusiveSumByKey(void *d_temp_storage, size_t &temp_storage_bytes, KeysInputIteratorT d_keys_in, ValuesInputIteratorT d_values_in, ValuesOutputIteratorT d_values_out, int num_items, EqualityOpT equality_op = EqualityOpT(), hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename KeysInputIteratorT, typename ValuesInputIteratorT, typename ValuesOutputIteratorT, typename ScanOpT, typename InitValueT, typename EqualityOpT = ::hipcub::Equality>
__host__ static inline hipError_t ExclusiveScanByKey(void *d_temp_storage, size_t &temp_storage_bytes, KeysInputIteratorT d_keys_in, ValuesInputIteratorT d_values_in, ValuesOutputIteratorT d_values_out, ScanOpT scan_op, InitValueT init_value, int num_items, EqualityOpT equality_op = EqualityOpT(), hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename KeysInputIteratorT, typename ValuesInputIteratorT, typename ValuesOutputIteratorT, typename EqualityOpT = ::hipcub::Equality>
__host__ static inline hipError_t InclusiveSumByKey(void *d_temp_storage, size_t &temp_storage_bytes, KeysInputIteratorT d_keys_in, ValuesInputIteratorT d_values_in, ValuesOutputIteratorT d_values_out, int num_items, EqualityOpT equality_op = EqualityOpT(), hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename KeysInputIteratorT, typename ValuesInputIteratorT, typename ValuesOutputIteratorT, typename ScanOpT, typename EqualityOpT = ::hipcub::Equality>
__host__ static inline hipError_t InclusiveScanByKey(void *d_temp_storage, size_t &temp_storage_bytes, KeysInputIteratorT d_keys_in, ValuesInputIteratorT d_values_in, ValuesOutputIteratorT d_values_out, ScanOpT scan_op, int num_items, EqualityOpT equality_op = EqualityOpT(), hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename InputIteratorT, typename OutputIteratorT>
__host__ static inline hipError_t InclusiveSum(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, size_t num_items, hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename InputIteratorT, typename OutputIteratorT, typename ScanOpT>
__host__ static inline hipError_t InclusiveScan(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, ScanOpT scan_op, size_t num_items, hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename InputIteratorT, typename OutputIteratorT>
__host__ static inline hipError_t ExclusiveSum(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, size_t num_items, hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename InputIteratorT, typename OutputIteratorT, typename ScanOpT, typename InitValueT>
__host__ static inline hipError_t ExclusiveScan(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, ScanOpT scan_op, InitValueT init_value, size_t num_items, hipStream_t stream = 0, bool debug_synchronous = false)¶
-
template<typename InputIteratorT, typename OutputIteratorT, typename ScanOpT, typename InitValueT, typename InitValueIterT = InitValueT*>
__host__ static inline hipError_t ExclusiveScan(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, ScanOpT scan_op, FutureValue<InitValueT, InitValueIterT> init_value, int num_items, hipStream_t stream = 0, bool debug_synchronous = false)
-
template<typename KeysInputIteratorT, typename ValuesInputIteratorT, typename ValuesOutputIteratorT, typename EqualityOpT = ::hipcub::Equality>
__host__ static inline hipError_t ExclusiveSumByKey(void *d_temp_storage, size_t &temp_storage_bytes, KeysInputIteratorT d_keys_in, ValuesInputIteratorT d_values_in, ValuesOutputIteratorT d_values_out, int num_items, EqualityOpT equality_op = EqualityOpT(), hipStream_t stream = 0, bool debug_synchronous = false)
-
template<typename KeysInputIteratorT, typename ValuesInputIteratorT, typename ValuesOutputIteratorT, typename ScanOpT, typename InitValueT, typename EqualityOpT = ::hipcub::Equality>
__host__ static inline hipError_t ExclusiveScanByKey(void *d_temp_storage, size_t &temp_storage_bytes, KeysInputIteratorT d_keys_in, ValuesInputIteratorT d_values_in, ValuesOutputIteratorT d_values_out, ScanOpT scan_op, InitValueT init_value, int num_items, EqualityOpT equality_op = EqualityOpT(), hipStream_t stream = 0, bool debug_synchronous = false)
-
template<typename KeysInputIteratorT, typename ValuesInputIteratorT, typename ValuesOutputIteratorT, typename EqualityOpT = ::hipcub::Equality>
__host__ static inline hipError_t InclusiveSumByKey(void *d_temp_storage, size_t &temp_storage_bytes, KeysInputIteratorT d_keys_in, ValuesInputIteratorT d_values_in, ValuesOutputIteratorT d_values_out, int num_items, EqualityOpT equality_op = EqualityOpT(), hipStream_t stream = 0, bool debug_synchronous = false)
-
template<typename KeysInputIteratorT, typename ValuesInputIteratorT, typename ValuesOutputIteratorT, typename ScanOpT, typename EqualityOpT = ::hipcub::Equality>
__host__ static inline hipError_t InclusiveScanByKey(void *d_temp_storage, size_t &temp_storage_bytes, KeysInputIteratorT d_keys_in, ValuesInputIteratorT d_values_in, ValuesOutputIteratorT d_values_out, ScanOpT scan_op, int num_items, EqualityOpT equality_op = EqualityOpT(), hipStream_t stream = 0, bool debug_synchronous = false)
-
template<typename InputIteratorT, typename OutputIteratorT>