For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo function
get_conv_tile_size
def get_conv_tile_size[dtype: DType]() -> Int
Returns the convolution L2 cache tile size in elements for the target.
The rule-of-thumb is one half of the L2 cache size, rounded up to a multiple of nine to suit common 3x3 filter windows.
Parameters:
- dtype (
DType): Element type of the convolution operands, used to convert the target L2 cache byte budget into an element count.
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!