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

copy_sram_to_dram

def copy_sram_to_dram[thread_layout: Layout[thread_layout.shape_types, thread_layout.stride_types], *, swizzle: Optional[Swizzle] = None, num_threads: Int = thread_layout.size()](dst: TileTensor[Storage=dst.Storage, linear_idx_type=dst.linear_idx_type], src: TileTensor[Storage=src.Storage, address_space=AddressSpace.SHARED, linear_idx_type=src.linear_idx_type])

Synchronously copies a tile from SRAM (shared memory) to DRAM (generic).

Delegates to SharedToGenericTileCopier. The binary_op fusion and fp32 -> half-precision downcast paths of the legacy free function are not supported here.

Parameters:

Args:

Was this page helpful?