IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /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. /get-started.md).

Mojo struct

KernelConfig

struct KernelConfig

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

Fields

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

Implemented traits

AnyType, Copyable, Deinitable, ImplicitlyCopyable, Movable, Writable

Methods

__init__

def __init__(out self, *, block_shape: IndexList[Int(3)], warp_shape: IndexList[Int(3)], mma_shape: IndexList[Int(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)