copy_to_host
- Buffer.copy_to_host(data: ndarray, offset: int = 0)
Copies data from the buffer on Houmo device to host memory. The total size of the data to copy (the data size pluses the offset) must not exceed the buffer size.
- Parameters:
data (np.ndarray) -- The source array on Houmo device to be copied.
offset (int) -- The starting offset within the buffer.