24 #include <thrust/detail/config.h> 25 #include <thrust/detail/execution_policy.h> 27 THRUST_NAMESPACE_BEGIN
72 template<
typename DerivedPolicy,
typename ForwardIterator,
typename T>
74 void fill(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
75 ForwardIterator first,
111 template<
typename ForwardIterator,
typename T>
113 void fill(ForwardIterator first,
114 ForwardIterator last,
154 template<
typename DerivedPolicy,
typename OutputIterator,
typename Size,
typename T>
156 OutputIterator
fill_n(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
157 OutputIterator first,
193 template<
typename OutputIterator,
typename Size,
typename T>
195 OutputIterator
fill_n(OutputIterator first,
206 #include <thrust/detail/fill.inl> __host__ __device__ void fill(ForwardIterator first, ForwardIterator last, const T &value)
__host__ __device__ OutputIterator fill_n(OutputIterator first, Size n, const T &value)