Expand description
Wasmtime + Tokio async execution engine for TensorWasm instances.
tensor-wasm-exec wraps wasmtime with a TensorWasm-specific engine::TensorWasmEngine
that wires in async execution, epoch-based interruption, and a custom
linear-memory creator backed by tensor_wasm_mem. The instance module
manages per-tenant instance lifecycles, and executor drives async
invocation of guest exports against a shared engine and store pool.
Re-exports§
pub use instance_pool::InstancePool;pub use instance_pool::InstancePoolConfig;pub use instance_pool::PooledInstance;
Modules§
- auto_
offload - Pre-instantiation auto-offload analysis.
- engine
TensorWasmEngine— awasmtime::Enginewrapper preconfigured for TensorWasm.- executor
TensorWasmExecutor— async executor for TensorWasm Wasm instances.- instance
- Per-instance state used by
TensorWasmExecutor. - instance_
pool - Pre-instantiated instance pool (roadmap feature #5, T37 implementation).
- jit_
dispatch - Host-side implementations of
tensor-wasm:jit/host::{dispatch, alloc, free}.