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 struct

KernelConfig

struct KernelConfig

Block/warp/MMA shape configuration for ping-pong kernels.

Fields​

  • ​block_shape (IndexList[3]):
  • ​warp_shape (IndexList[3]):
  • ​mma_shape (IndexList[3]):

Implemented traits​

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDeletable, Movable, Writable

Methods​

__init__​

def __init__(out self, *, block_shape: IndexList[3], warp_shape: IndexList[3], mma_shape: IndexList[3])

num_threads​

def num_threads(self) -> Int

Returns:

Int

write_to​

def write_to(self, mut writer: T)

write_repr_to​

def write_repr_to(self, mut writer: T)