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
dispatch_get_kernel_type
def dispatch_get_kernel_type[FuncType: def[x: Bool]() raises -> None & ImplicitlyCopyable](func: FuncType, m: Int, n: Int, k: Int)
Invokes func with the kernel type selected for the matmul dimensions.
Parameters:
- βFuncType (
def[x: Bool]() raises -> None&ImplicitlyCopyable): The comptime-parameterized function type to dispatch, specialized on a boolean kernel type.
Args:
def dispatch_get_kernel_type[FuncType: def[x: Bool]() -> None & ImplicitlyCopyable](func: FuncType, m: Int, n: Int, k: Int)
Invokes func with the kernel type selected for the matmul dimensions.
Non-raising overload of dispatch_get_kernel_type.
Parameters:
- βFuncType (
def[x: Bool]() -> None&ImplicitlyCopyable): The comptime-parameterized function type to dispatch, specialized on a boolean kernel type.
Args:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!