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

Mojo struct

LoopCarriedSpec

struct LoopCarriedSpec

Which ops are loop-carried (loaded at end of iter, consumed at start).

For single-buffer pipelines, fragment[0] is typically loop-carried: it's loaded at the end of iteration N and consumed by compute[0] at the start of iteration N+1.

Fields​

  • ​role (OpRole):
  • ​selector (Int):

Implemented traits​

AnyType, Copyable, ImplicitlyCopyable, ImplicitlyDestructible, Movable

Methods​

fragment_zero​

static fragment_zero() -> Self

Fragment[0] is loop-carried (default matmul pattern).

none​

static none() -> Self

No loop-carried ops (double-buffered pipelines).