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 a std::tuple with a single type T repeated n 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.