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 function

blasst_vote_unanimous

def blasst_vote_unanimous(blasst_vote: Pointer[UInt8, MutAnyOrigin, address_space=AddressSpace.SHARED], wg: UInt32, phase: UInt32) -> Bool

Reads the BLASST per-warp skip votes for (wg, phase) and ANDs them.

Shared by the softmax-side vote publisher (blasst_observe, which reads back its own WG's vote right after publishing it) and the MMA-side consumer (blasst_should_skip, which reads a vote published earlier by the S-consumer pipeline's own synchronization). Only the read-back itself is shared here -- each caller's surrounding synchronization differs and stays local to that caller.

Returns:

Bool