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 trait

MMAOperandDescriptor

Trait for abstracting MMA (Matrix Multiply-Accumulate) operand descriptors.

This trait defines the interface for WGMMA operand descriptors used in GPU matrix operations.

Implemented traits​

AnyType, Copyable, Deinitable, ImplicitlyCopyable, Movable, RegisterPassable, TrivialRegisterPassable

Required methods​

__add__​

def __add__(self, offset: Int) -> Self

Adds an offset to the operand descriptor.

Args:

  • ​offset (Int): The offset to add to the descriptor.

Returns:

_Self: A new descriptor with the offset applied.

Was this page helpful?