Struct ov::intel_gpu::FileDescriptor#

struct FileDescriptor#

File descriptor for wrapping tensor data memory-mapped from a file as a GPU plugin tensor. The plugin memory-maps the file and keeps the mapping alive for the whole tensor lifetime, so the file must not be modified until the returned tensor is destroyed.

Public Members

std::filesystem::path path#

File path.

std::size_t offset = 0#

Offset in bytes to read from the file.

AccessMode access = AccessMode::READ#

Access mode of the mapping.