Skip to content

module_cache.h

Source: samples/common/runtime/module_cache.h

VMFB session caching and entry-function invocation helpers.


Structs

CachedModule

Cached IREE runtime session for a single VMFB.

Holds the session handle, resolved entry function, and a mutex for thread-safe invocation via CallModule().

Members

Name Type Description
vmfb_path std::string
session iree_runtime_session_t *
entry_fn iree_vm_function_t
arity int
first_is_i32 bool
mu std::mutex