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

store

def store[A: StoreAtom, T: DType, LM: TensorLayout, EM: TensorEngine, LR: TensorLayout, ER: TensorEngine](atom: A, dst: MutTileTensor[T, LM, Engine=EM, address_space=dst.address_space, linear_idx_type=dst.linear_idx_type], src: ImmTileTensor[T, LR, Engine=ER, address_space=src.address_space, linear_idx_type=src.linear_idx_type], warp: Int = Int(0))

Stores the issuing threads' register tiles into a memory tile with atom.

Constraints:

can_store[A, LM, EM, LR](), and A's completion is synchronous or a counter. store does not wait: for a counter, the caller waits with A.Completion.wait() before it reuses the registers.

Parameters:

Args:

Was this page helpful?