Thrust
Namespaces | Functions
find.h File Reference

Locating values in (unsorted) ranges. More...

#include <thrust/detail/config.h>
#include <thrust/detail/execution_policy.h>
#include <thrust/detail/find.inl>

Go to the source code of this file.

Namespaces

 thrust
 thrust is the top-level namespace which contains all Thrust functions and types.
 

Functions

template<typename DerivedPolicy , typename InputIterator , typename T >
__host__ __device__ InputIterator thrust::find (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, InputIterator last, const T &value)
 
template<typename InputIterator , typename T >
InputIterator thrust::find (InputIterator first, InputIterator last, const T &value)
 
template<typename DerivedPolicy , typename InputIterator , typename Predicate >
__host__ __device__ InputIterator thrust::find_if (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, InputIterator last, Predicate pred)
 
template<typename InputIterator , typename Predicate >
InputIterator thrust::find_if (InputIterator first, InputIterator last, Predicate pred)
 
template<typename DerivedPolicy , typename InputIterator , typename Predicate >
__host__ __device__ InputIterator thrust::find_if_not (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, InputIterator last, Predicate pred)
 
template<typename InputIterator , typename Predicate >
InputIterator thrust::find_if_not (InputIterator first, InputIterator last, Predicate pred)
 

Detailed Description

Locating values in (unsorted) ranges.