Class ov::util::IMemoryHints#

class IMemoryHints#

Capability: hints for managing a buffer’s physical-memory residency.

Subclassed by ov::util::IBuffer

Public Functions

virtual void hint_evict() noexcept = 0#

Hint to release the underlying memory if possible (e.g. unmaps/decommits).

virtual PrefetchToken hint_prefetch() noexcept = 0#

Hint to start fetching the data to memory in the background, returns immediately.

Returns:

A handle to wait for the data to be resident; an invalid handle means there is nothing to wait for.