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 function

double_buffer_edge_rules

double_buffer_edge_rules() -> List[EdgeRule]

5 rules encoding the 4 phases of double-buffer edge derivation.

Phase 1: Register FLOW β€” fragment_load β†’ compute (same-stage half, config match key). Phase 2a: Accumulator forward β€” compute half 0 β†’ compute half 1 (d=0). Phase 2b: Accumulator backward β€” compute half 1 β†’ compute half 0 (d=1). Phase 3: LDS FLOW β€” global_load β†’ fragment_load (same channel+stage, distance derived from k_offset). Phase 4: LDS ANTI β€” fragment_load β†’ global_load (same channel+stage, consumer non-K_PREV only).

Returns:

List[EdgeRule]