legate.io.hdf5.from_file#

legate.io.hdf5.from_file(path, unicode dataset_name) LogicalArray#

Read an HDF5 array from disk using the native hdf5 API.

This doesn’t use KvikIO or GDS, instead a bounce buffer is used when running on a GPU.

Parameters:
  • path (Pathlike) – Path to the hdf5 file.

  • dataset_name (str) – Name/path of the dataset. This must reference a single array, thus make sure to use the full path to the array inside the HDF5 file.

Returns:

The Legate array read from disk.

Return type:

LogicalArray