40 #include "dispatch/dispatch_select_if.cuh"
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,
130 FlagIterator d_flags,
131 OutputIteratorT d_out,
132 NumSelectedIteratorT d_num_selected_out,
134 cudaStream_t stream = 0,
135 bool debug_synchronous =
false)
138 typedef NullType SelectOp;
139 typedef NullType EqualityOp;
141 return DispatchSelectIf<InputIteratorT, FlagIterator, OutputIteratorT, NumSelectedIteratorT, SelectOp, EqualityOp, OffsetT, true>::Dispatch(
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,
239 NumSelectedIteratorT d_num_selected_out,
242 cudaStream_t stream = 0,
243 bool debug_synchronous =
false)
246 typedef NullType* FlagIterator;
247 typedef NullType EqualityOp;
249 return DispatchSelectIf<InputIteratorT, FlagIterator, OutputIteratorT, NumSelectedIteratorT, SelectOp, EqualityOp, OffsetT, true>::Dispatch(