IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
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

pack_b_ndbuffer

def pack_b_ndbuffer[b_type: DType, //, a_type: DType, c_type: DType](b_input: TileTensor[b_type, Storage=b_input.Storage, linear_idx_type=b_input.linear_idx_type, element_size=b_input.element_size], output_buffer: TileTensor[b_type, Storage=output_buffer.Storage, linear_idx_type=output_buffer.linear_idx_type, element_size=output_buffer.element_size], kernel_type_m: Int = Int(0))

TileTensor primary implementation of pack_b_ndbuffer.

Takes kernel_type_m directly instead of extracting it from a_shape static shape params (0 = dynamic M).