Skip to main content

Mojo struct

KernelConfig

struct KernelConfig

Fields

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

Implemented traits

AnyType, Copyable, ImplicitlyCopyable, Movable, Stringable, UnknownDestructibility, Writable

comptime members

__copyinit__is_trivial

comptime __copyinit__is_trivial = True

__del__is_trivial

comptime __del__is_trivial = True

__moveinit__is_trivial

comptime __moveinit__is_trivial = True

Methods

__init__

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

num_threads

num_threads(self) -> Int

Returns:

Int

write_to

write_to(self, mut writer: T)

__str__

__str__(self) -> String

Returns:

String

__repr__

__repr__(self) -> String

Returns:

String

Was this page helpful?