saealib.execution.RuntimeRegistration#
- class saealib.execution.RuntimeRegistration(*, name, matches, factory, offered_runtime_capabilities=frozenset({}), capability_provider=None)[source]#
Bases:
objectOne explicit runtime selection rule.
- Parameters:
name (str)
matches (Callable[[object], bool])
factory (RuntimeFactory)
offered_runtime_capabilities (frozenset[str])
capability_provider (Callable[[object], Iterable[str]] | None)
Methods
Resolve this provider's static or optimizer-dependent offer. |
Method Details
- RuntimeRegistration.__init__(*, name, matches, factory, offered_runtime_capabilities=frozenset({}), capability_provider=None)#
- Parameters:
name (str)
matches (Callable[[object], bool])
factory (RuntimeFactory)
offered_runtime_capabilities (frozenset[str])
capability_provider (Callable[[object], Iterable[str]] | None)
- Return type:
None