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

TMemLoadWait

struct TMemLoadWait

tcgen05.wait::ld: waits for all of this thread's TMEM loads.

Implemented traits​

AnyType, AtomCompletion, CounterCompletion, Deinitable, Movable

comptime members​

max_pending​

comptime max_pending = 0

None: the wait covers every outstanding load.

Result​

comptime Result = NoneType

Nothing: a tcgen05.ld returns no handle.

Methods​

wait​

static def wait[pending: Int = Int(0)]()

Blocks until this thread's TMEM loads are done.

Parameters:

  • ​pending (Int): Must be 0; the instruction waits for all of them.

Was this page helpful?