Expand description
TensorWasmEngine — a wasmtime::Engine wrapper preconfigured for TensorWasm.
- Async execution (cooperative fuel via epoch-based interruption).
- Custom
MemoryCreatorso linear memory is carved fromtensor_wasm_mem::wasm_memory::TensorWasmMemoryCreator(CUDA Unified Memory on supported hosts; plain Box on others). - Epoch ticker: a background Tokio task increments the engine’s epoch
counter every
TensorWasmEngine::EPOCH_TICKso calls past their deadline are interrupted promptly.
Structs§
- Engine
Config - Configuration knobs for the engine.
- Tensor
Wasm Engine - A configured
wasmtime::Engineplus the background epoch ticker that drives interruption.
Enums§
- Memory
Backend - Selects the linear-memory backing strategy for the engine.