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

Method get_flat_coord

include/cute/tensor_impl.hpp:334–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332 template <class Int,
333 __CUTE_REQUIRES(is_integral<Int>::value)>
334 CUTE_HOST_DEVICE constexpr
335 auto
336 get_flat_coord(Int const& linear_idx) const {
337 return layout().get_flat_coord(linear_idx);
338 }
339
340 cute::tuple<layout_type, engine_type> rep_;
341};

Callers 1

local_partitionFunction · 0.45

Calls 1

layoutFunction · 0.70

Tested by

no test coverage detected