Thrust
Namespaces | Functions
gather.h File Reference

Irregular copying from a source range. More...

#include <thrust/detail/config.h>
#include <thrust/detail/execution_policy.h>
#include <thrust/detail/gather.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 RandomAccessIterator , typename OutputIterator >
__host__ __device__ OutputIterator thrust::gather (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator map_first, InputIterator map_last, RandomAccessIterator input_first, OutputIterator result)
 
template<typename InputIterator , typename RandomAccessIterator , typename OutputIterator >
OutputIterator thrust::gather (InputIterator map_first, InputIterator map_last, RandomAccessIterator input_first, OutputIterator result)
 
template<typename DerivedPolicy , typename InputIterator1 , typename InputIterator2 , typename RandomAccessIterator , typename OutputIterator >
__host__ __device__ OutputIterator thrust::gather_if (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator1 map_first, InputIterator1 map_last, InputIterator2 stencil, RandomAccessIterator input_first, OutputIterator result)
 
template<typename InputIterator1 , typename InputIterator2 , typename RandomAccessIterator , typename OutputIterator >
OutputIterator thrust::gather_if (InputIterator1 map_first, InputIterator1 map_last, InputIterator2 stencil, RandomAccessIterator input_first, OutputIterator result)
 
template<typename DerivedPolicy , typename InputIterator1 , typename InputIterator2 , typename RandomAccessIterator , typename OutputIterator , typename Predicate >
__host__ __device__ OutputIterator thrust::gather_if (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator1 map_first, InputIterator1 map_last, InputIterator2 stencil, RandomAccessIterator input_first, OutputIterator result, Predicate pred)
 
template<typename InputIterator1 , typename InputIterator2 , typename RandomAccessIterator , typename OutputIterator , typename Predicate >
OutputIterator thrust::gather_if (InputIterator1 map_first, InputIterator1 map_last, InputIterator2 stencil, RandomAccessIterator input_first, OutputIterator result, Predicate pred)
 

Detailed Description

Irregular copying from a source range.