boulderopalscaleup.runtime.Runtime

class boulderopalscaleup.runtime.Runtime(options)

Manages hardware systems and executes compiled programs.

A runtime holds a set of registered hardware systems and executes compiled programs against them. It supports the context manager protocol for automatic resource cleanup.

Use Runtime.new() as the preferred constructor.

Variables

  • is_closed (bool) – True once the runtime and all its systems have been closed.
  • systems (dict [ str , System ]) – Registered hardware systems, keyed by system identifier.

Methods

init
add_systemRegister a system with this runtime.
bindCompile a manifest into an executable against registered systems.
closeClose the runtime and all registered systems.
newCreate a new runtime with the provided options.
runBind and immediately execute a manifest.

Was this useful?