Thrust
|
Fills a range with a constant value. More...
#include <thrust/detail/config.h>
#include <thrust/detail/execution_policy.h>
#include <thrust/detail/fill.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 ForwardIterator , typename T > | |
__host__ __device__ void | thrust::fill (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, ForwardIterator first, ForwardIterator last, const T &value) |
template<typename ForwardIterator , typename T > | |
__host__ __device__ void | thrust::fill (ForwardIterator first, ForwardIterator last, const T &value) |
template<typename DerivedPolicy , typename OutputIterator , typename Size , typename T > | |
__host__ __device__ OutputIterator | thrust::fill_n (const thrust::detail::execution_policy_base< DerivedPolicy > &exec, OutputIterator first, Size n, const T &value) |
template<typename OutputIterator , typename Size , typename T > | |
__host__ __device__ OutputIterator | thrust::fill_n (OutputIterator first, Size n, const T &value) |
Fills a range with a constant value.