41#include "../util_namespace.cuh"
121 typename InputIteratorT,
122 typename FlagIterator,
123 typename OutputIteratorT,
124 typename NumSelectedIteratorT>
125 CUB_RUNTIME_FUNCTION __forceinline__
127 void* d_temp_storage,
128 size_t &temp_storage_bytes,
131 OutputIteratorT
d_out,
134 cudaStream_t stream = 0,
135 bool debug_synchronous =
false)
229 typename InputIteratorT,
230 typename OutputIteratorT,
231 typename NumSelectedIteratorT,
233 CUB_RUNTIME_FUNCTION __forceinline__
234 static cudaError_t
If(
235 void* d_temp_storage,
236 size_t &temp_storage_bytes,
238 OutputIteratorT
d_out,
242 cudaStream_t stream = 0,
243 bool debug_synchronous =
false)
Optional outer namespace(s)
FlagsInputIteratorT SelectedOutputIteratorT NumSelectedIteratorT ScanTileStateT SelectOpT select_op
[in] Selection operator
KeyT const ValueT ValueT OffsetT OffsetT num_items
[in] Total number of input data items
FlagsInputIteratorT SelectedOutputIteratorT NumSelectedIteratorT d_num_selected_out
[out] Pointer to the total number of items selected (i.e., length of d_selected_out)
FlagsInputIteratorT d_flags
< [in] Pointer to the input sequence of data items
OffsetT OffsetT
[in] Total number of input data items
OutputIteratorT d_out
< [in] Pointer to the input sequence of data items
DevicePartition provides device-wide, parallel operations for partitioning sequences of data items re...
CUB_RUNTIME_FUNCTION static __forceinline__ cudaError_t Flagged(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, FlagIterator d_flags, OutputIteratorT d_out, NumSelectedIteratorT d_num_selected_out, int num_items, cudaStream_t stream=0, bool debug_synchronous=false)
Uses the d_flags sequence to split the corresponding items from d_in into a partitioned sequence d_ou...
CUB_RUNTIME_FUNCTION static __forceinline__ cudaError_t If(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, OutputIteratorT d_out, NumSelectedIteratorT d_num_selected_out, int num_items, SelectOp select_op, cudaStream_t stream=0, bool debug_synchronous=false)
Uses the select_op functor to split the corresponding items from d_in into a partitioned sequence d_o...
CUB_RUNTIME_FUNCTION static __forceinline__ cudaError_t Dispatch(void *d_temp_storage, size_t &temp_storage_bytes, InputIteratorT d_in, FlagsInputIteratorT d_flags, SelectedOutputIteratorT d_selected_out, NumSelectedIteratorT d_num_selected_out, SelectOpT select_op, EqualityOpT equality_op, OffsetT num_items, cudaStream_t stream, bool debug_synchronous, int, ScanInitKernelPtrT scan_init_kernel, SelectIfKernelPtrT select_if_kernel, KernelConfig select_if_config)
< Function type of cub::SelectIfKernelPtrT
A simple "NULL" marker type.