Skip to main content
Log in

Mojo function

copy_from_nd_buffer

copy_from_nd_buffer[dtype: DType, dst_rank: Int, dst_address_space: AddressSpace, dst_data_layout: Layout, dst_element_layout: Layout, //, thread_layout: Layout, is_async: Bool = False, swizzle: OptionalReg[fn[DType](SIMD[$0, 1]) -> SIMD[$0, 1]] = OptionalReg(None)](dst_thread_local: LayoutTensor[dtype, dst_data_layout, dst_rank, address_space=dst_address_space, element_layout=dst_element_layout, layout_bitwidth=layout_bitwidth, masked=masked, alignment=alignment], src: NDBuffer[dtype, rank, shape, strides], thread_id: Int)