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

Function unflatten

include/cute/algorithm/tuple_algorithms.hpp:609–616  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

607// @post flatten(@a result) == @a flat_tuple
608template <class FlatTuple, class TargetProfile>
609CUTE_HOST_DEVICE constexpr
610auto
611unflatten(FlatTuple const& flat_tuple, TargetProfile const& target_profile)
612{
613 auto [unflatten_tuple, flat_remainder] = detail::unflatten_impl(flat_tuple, target_profile);
614 CUTE_STATIC_ASSERT_V(rank(flat_remainder) == Int<0>{});
615 return unflatten_tuple;
616}
617
618//
619// insert and remove and replace

Callers

nothing calls this directly

Calls 2

unflatten_implFunction · 0.85
rankFunction · 0.50

Tested by

no test coverage detected