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

can_store

def can_store[A: StoreAtom, LM: TensorLayout, EM: TensorEngine, LR: TensorLayout]() -> Bool

Returns whether store can move register tiles of layout LR into a memory tile of layout LM in engine EM with atom A.

Parameters:

Returns:

Bool: True when both layouts are F2-linear, every index bit A fixes is played by a logical bit, and the register tile holds exactly the elements left to each thread.

Was this page helpful?