make_counting_iterator
#
-
template<typename Incrementable>
inline counting_iterator<Incrementable> thrust::make_counting_iterator(
)# make_counting_iterator
creates acounting_iterator
using an initial value for itsIncrementable
counter.- Parameters:
x – The initial value of the new
counting_iterator's
counter.- Returns:
A new
counting_iterator
whose counter has been initialized tox
.