MCPcopy Create free account
hub / github.com/NVIDIA/cutlass / tuple_repeat

Function tuple_repeat

include/cute/algorithm/tuple_algorithms.hpp:704–709  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702
703template <int N, class X>
704CUTE_HOST_DEVICE constexpr
705auto
706tuple_repeat(X const& x)
707{
708 return detail::construct(0, x, seq<>{}, make_seq<N>{}, seq<>{});
709}
710
711//
712// Make repeated Xs of rank N

Callers

nothing calls this directly

Calls 1

constructFunction · 0.85

Tested by

no test coverage detected