Thrust
|
Copies elements from one range to another. More...
#include <thrust/detail/config.h>
#include <thrust/detail/execution_policy.h>
#include <thrust/detail/copy.h>
#include <thrust/detail/copy_if.h>
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 OutputIterator > | |
__host__ __device__ OutputIterator | thrust::copy (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, InputIterator last, OutputIterator result) |
template<typename DerivedPolicy , typename InputIterator , typename Size , typename OutputIterator > | |
__host__ __device__ OutputIterator | thrust::copy_n (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, Size n, OutputIterator result) |
template<typename InputIterator , typename OutputIterator > | |
OutputIterator | thrust::copy (InputIterator first, InputIterator last, OutputIterator result) |
template<typename InputIterator , typename Size , typename OutputIterator > | |
OutputIterator | thrust::copy_n (InputIterator first, Size n, OutputIterator result) |
template<typename DerivedPolicy , typename InputIterator , typename OutputIterator , typename Predicate > | |
__host__ __device__ OutputIterator | thrust::copy_if (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator first, InputIterator last, OutputIterator result, Predicate pred) |
template<typename InputIterator , typename OutputIterator , typename Predicate > | |
OutputIterator | thrust::copy_if (InputIterator first, InputIterator last, OutputIterator result, Predicate pred) |
template<typename DerivedPolicy , typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename Predicate > | |
__host__ __device__ OutputIterator | thrust::copy_if (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, InputIterator1 first, InputIterator1 last, InputIterator2 stencil, OutputIterator result, Predicate pred) |
template<typename InputIterator1 , typename InputIterator2 , typename OutputIterator , typename Predicate > | |
OutputIterator | thrust::copy_if (InputIterator1 first, InputIterator1 last, InputIterator2 stencil, OutputIterator result, Predicate pred) |
Copies elements from one range to another.