thrust
Functions

Functions

template<typename DerivedPolicy , typename InputIterator , typename EqualityComparable >
__host__ __device__ thrust::iterator_traits< InputIterator >::difference_type thrust::count (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, InputIterator last, const EqualityComparable &value)
 
template<typename InputIterator , typename EqualityComparable >
thrust::iterator_traits< InputIterator >::difference_type thrust::count (InputIterator first, InputIterator last, const EqualityComparable &value)
 
template<typename DerivedPolicy , typename InputIterator , typename Predicate >
__host__ __device__ thrust::iterator_traits< InputIterator >::difference_type thrust::count_if (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, InputIterator last, Predicate pred)
 
template<typename InputIterator , typename Predicate >
thrust::iterator_traits< InputIterator >::difference_type thrust::count_if (InputIterator first, InputIterator last, Predicate pred)
 

Detailed Description