Thrust
Functions

Functions

template<typename DerivedPolicy , typename InputIterator , typename UnaryFunction >
__host__ __device__ InputIterator thrust::for_each (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, InputIterator last, UnaryFunction f)
 
template<typename DerivedPolicy , typename InputIterator , typename Size , typename UnaryFunction >
__host__ __device__ InputIterator thrust::for_each_n (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, Size n, UnaryFunction f)
 
template<typename InputIterator , typename UnaryFunction >
InputIterator thrust::for_each (InputIterator first, InputIterator last, UnaryFunction f)
 
template<typename InputIterator , typename Size , typename UnaryFunction >
InputIterator thrust::for_each_n (InputIterator first, Size n, UnaryFunction f)
 

Detailed Description