24 #include <thrust/detail/config.h> 25 #include <thrust/detail/execution_policy.h> 95 template<
typename DerivedPolicy,
96 typename ForwardIterator,
99 ForwardIterator
remove(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
100 ForwardIterator first,
101 ForwardIterator last,
157 template<
typename ForwardIterator,
159 ForwardIterator
remove(ForwardIterator first,
160 ForwardIterator last,
211 template<
typename DerivedPolicy,
212 typename InputIterator,
213 typename OutputIterator,
216 OutputIterator
remove_copy(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
219 OutputIterator result,
264 template<
typename InputIterator,
265 typename OutputIterator,
269 OutputIterator result,
342 template<
typename DerivedPolicy,
343 typename ForwardIterator,
346 ForwardIterator
remove_if(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
347 ForwardIterator first,
348 ForwardIterator last,
415 template<
typename ForwardIterator,
417 ForwardIterator
remove_if(ForwardIterator first,
418 ForwardIterator last,
479 template<
typename DerivedPolicy,
480 typename InputIterator,
481 typename OutputIterator,
484 OutputIterator
remove_copy_if(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
487 OutputIterator result,
542 template<
typename InputIterator,
543 typename OutputIterator,
547 OutputIterator result,
605 template<
typename DerivedPolicy,
606 typename ForwardIterator,
607 typename InputIterator,
610 ForwardIterator
remove_if(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
611 ForwardIterator first,
612 ForwardIterator last,
613 InputIterator stencil,
665 template<
typename ForwardIterator,
666 typename InputIterator,
668 ForwardIterator
remove_if(ForwardIterator first,
669 ForwardIterator last,
670 InputIterator stencil,
727 template<
typename DerivedPolicy,
728 typename InputIterator1,
729 typename InputIterator2,
730 typename OutputIterator,
733 OutputIterator
remove_copy_if(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
734 InputIterator1 first,
736 InputIterator2 stencil,
737 OutputIterator result,
788 template<
typename InputIterator1,
789 typename InputIterator2,
790 typename OutputIterator,
794 InputIterator2 stencil,
795 OutputIterator result,
805 #include <thrust/detail/remove.inl> __host__ __device__ ForwardIterator remove_if(const thrust::detail::execution_policy_base< DerivedPolicy > &exec, ForwardIterator first, ForwardIterator last, Predicate pred)
thrust is the top-level namespace which contains all Thrust functions and types.
Definition: addressof.h:14
__host__ __device__ OutputIterator remove_copy_if(const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, InputIterator last, OutputIterator result, Predicate pred)
__host__ __device__ OutputIterator remove_copy(const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, InputIterator last, OutputIterator result, const T &value)