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

Atom

Wraps one hardware intrinsic issued on TileTensor operands.

A call issues the intrinsic and nothing else, and returns what the instruction produces: Completion.Result, which is NoneType unless the instruction yields a handle. Waiting for an asynchronous atom is the caller's job, with the instructions its Completion wraps.

Implemented traits​

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

comptime members​

Completion​

comptime Completion

How the atom's results complete.

shape​

comptime shape = ParameterList()

The instruction's shape, such as (32, 16) for tcgen05.ld.32x32b.x16 or (m, n, k) for an MMA.

shape_values​

comptime shape_values

The values of shape, set as ParameterList.of[...]().values.

Was this page helpful?