legate.core.experimental.io.file_handle.FileHandle.write#

FileHandle.write(array: LogicalArray) None#

Writes specified buffer from device or host memory to the file.

Hint, if a subsequent operation reads this file, insert a fence in between such as legate.core.get_legate_runtime().issue_execution_fence(block=False).

Parameters:

array (LogicalArray) – The array to write.