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_load

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

Returns whether load can move a memory tile of layout LM in engine EM into register tiles of layout LR 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?