cuda::experimental::stf::array_tuple
Defined in include/cuda/experimental/__stf/utility/traits.cuh
-
template<typename T, size_t n>
using cuda::experimental::stf::array_tuple = decltype(to_tuple(::std::array<T, n>{})) Array-like tuple with a single element type repeated
n
times.The
array_tuple
template generates astd::tuple
with a single typeT
repeatedn
times. This can be used to create a tuple with consistent types and a fixed size.- Template Parameters
T – The type of the elements that the tuple will contain.
n – The number of elements that the tuple will contain.