IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/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. /max/get-started.md).

Mojo function

memcpy_or_fuse

def memcpy_or_fuse[rank: Int, dtype: DType, epilogue_fn: Optional[def[c_type: DType, rank: Int, width: SIMDSize = SIMDSize(1), *, alignment: Int = Int(1)](IndexList[rank], SIMD[c_type, width]) capturing -> None]](dest_data: UnsafePointer[Int8], out_byte_offset: Int, src_data: UnsafePointer[Int8], n: Int, out_shape: IndexList[rank, element_type=out_shape.element_type])