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_kernel_config
def get_kernel_config[a_type: DType, b_type: DType, c_type: DType, *, kernel_type: Bool = False]() -> KernelConfig
Extracts matmul configuration parameters for exported functions.
Parameters:
- βa_type (
DType): The dtype of the A tensor. - βb_type (
DType): The dtype of the B tensor. - βc_type (
DType): The dtype of the C tensor. - βkernel_type (
Bool): Selects between the two tuned shapes for the target (defaults to False).
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!