Skip to main content

vendor_example_blocking

Function vendor_example_blocking 

Source
pub fn vendor_example_blocking(
    mt: usize,
    nt: usize,
    num_cores_y: usize,
    num_cores_x: usize,
) -> Option<(usize, usize, usize, usize)>
Expand description

The blocking the tt-metal matmul_multicore_reuse[_mcast] programming examples choose for a shape: a transcription of bmm_op_utils::get_large_matmul_params (the examples’ shared bmm_op.hpp helper under tt_metal/programming_examples/matmul) at the examples’ fixed in0_block_w = 2, so those ledger rows (whose host prints no config line) become fully specified calibration points. Returns (per_core_M, per_core_N, out_subblock_h, out_subblock_w); None where the vendor returns all zeros.