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:
- βA (
StoreAtom): The store atom. - βLM (
TensorLayout): The memory tile's layout. - βEM (
TensorEngine): The memory tile's engine. - βLR (
TensorLayout): Each thread's register tile layout.
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.