Mojo function
cosize
cosize(l: Layout) -> Int
Returns the size of the memory region spanned by the layout.
This is a standalone function equivalent to the Layout.cosize() method.
Args:
- l (
Layout
): The layout to calculate the cosize for.
Returns:
The size of the memory region required by the layout.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!