cuda::experimental::stf::each

Defined in include/cuda/experimental/__stf/utility/core.cuh

template<typename T>
auto cuda::experimental::stf::each(T to)

Create an iterable range from T(0) to to

Note

The range includes 0 and excludes to

Template Parameters

T – The type of the end range value

Parameters

to – The end value of the range

Returns

A range of values from T(0) to to