40 #include "dispatch/dispatch_select_if.cuh"
41 #include "../util_namespace.cuh"
128 typename InputIteratorT,
129 typename FlagIterator,
130 typename OutputIteratorT,
131 typename NumSelectedIteratorT>
132 CUB_RUNTIME_FUNCTION __forceinline__
134 void* d_temp_storage,
135 size_t &temp_storage_bytes,
137 FlagIterator d_flags,
138 OutputIteratorT d_out,
139 NumSelectedIteratorT d_num_selected_out,
141 cudaStream_t stream = 0,
142 bool debug_synchronous =
false)
145 typedef NullType SelectOp;
146 typedef NullType EqualityOp;
148 return DispatchSelectIf<InputIteratorT, FlagIterator, OutputIteratorT, NumSelectedIteratorT, SelectOp, EqualityOp, OffsetT, false>::Dispatch(
234 typename InputIteratorT,
235 typename OutputIteratorT,
236 typename NumSelectedIteratorT,
238 CUB_RUNTIME_FUNCTION __forceinline__
239 static cudaError_t
If(
240 void* d_temp_storage,
241 size_t &temp_storage_bytes,
243 OutputIteratorT d_out,
244 NumSelectedIteratorT d_num_selected_out,
247 cudaStream_t stream = 0,
248 bool debug_synchronous =
false)
251 typedef NullType* FlagIterator;
252 typedef NullType EqualityOp;
254 return DispatchSelectIf<InputIteratorT, FlagIterator, OutputIteratorT, NumSelectedIteratorT, SelectOp, EqualityOp, OffsetT, false>::Dispatch(
325 typename InputIteratorT,
326 typename OutputIteratorT,
327 typename NumSelectedIteratorT>
328 CUB_RUNTIME_FUNCTION __forceinline__
330 void* d_temp_storage,
331 size_t &temp_storage_bytes,
333 OutputIteratorT d_out,
334 NumSelectedIteratorT d_num_selected_out,
336 cudaStream_t stream = 0,
337 bool debug_synchronous =
false)
340 typedef NullType* FlagIterator;
341 typedef NullType SelectOp;
344 return DispatchSelectIf<InputIteratorT, FlagIterator, OutputIteratorT, NumSelectedIteratorT, SelectOp, EqualityOp, OffsetT, false>::Dispatch(