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

Function size

include/cute/tensor_impl.hpp:550–555  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548// Return the number of elements in a mode
549template <int... Is, class Engine, class Layout>
550CUTE_HOST_DEVICE constexpr
551auto
552size(Tensor<Engine,Layout> const& tensor)
553{
554 return size<Is...>(tensor.layout());
555}
556
557// Return the rank of a mode
558template <int... Is, class Engine, class Layout>

Callers 1

sizeMethod · 0.70

Calls 1

layoutMethod · 0.45

Tested by

no test coverage detected