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

select_inner_kernel

def select_inner_kernel[a_type: DType, b_type: DType, c_type: DType]() -> InnerKernelID

Returns the inner kernel variant to use for the given dtypes and target.

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.

Returns:

InnerKernelID