Skip to main content

Module runtime

Module runtime 

Source
Expand description

Process-global SoftGPU runtime session (vendor-neutral).

Thread-safe via a single mutex. Init is reference-counted. Handles are generation-bumping so destroy/recycle cannot revive stale IDs.

Structs§

RegisteredIsaKernel
SoftGPU-registered ISA kernel image (Phase 11 / v0.8 executable load).
Runtime
SoftGPU runtime state.

Enums§

AgentInfoValue
Typed agent info payload before ABI packing.
PoolInfoAttr
RegionInfoAttr
RuntimeError
Errors returned by the vendor-neutral runtime (mapped to HSA at the edge).

Functions§

ensure_default_runtime
Ensure a default runtime exists.
install_runtime
Install the process runtime from a profile (idempotent replace only when down).
with_runtime
Access the global runtime under the process mutex.
with_runtime_autostart
Like with_runtime but auto-installs the default profile if missing.