compute.device · thing ·
deviceSupportMatrixRow
A device support matrix row record carrying backend, family, vendor, runtimeReady, placementSupported, and related state.
Inspect device capability catalogs and model resource lifetimes and placement decisions.
external thing deviceSupportMatrixRowStatus: source-declared
Fields and methods (13)
text backend- Stores backend as text.
text family- Stores family as text.
text vendor- Stores vendor as text.
bool runtimeReady- Stores runtime ready as bool.
bool placementSupported- Stores placement supported as bool.
bool mixedExecutionSupported- Stores mixed execution supported as bool.
text fallbackBackend- Stores fallback backend as text.
text hostFamily- Stores host family as text.
text status- Stores status as text.
text notes- Stores notes as text.
deviceSupportMatrixRow(text backend, text family, text vendor, bool runtimeReady, bool placementSupported, bool mixedExecutionSupported, text fallbackBackend, text hostFamily, text status, text notes)- Device support matrix row.
HasFallback() returns bool- Has fallback. Complete example
Describe() returns text- Describe. Complete example
Use deviceSupportMatrixRow
A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.
cpu · source-example · type checked
using compute.device
// Inspect device capability catalogs and model resource lifetimes and placement decisions.
deviceSupportMatrixRow sample = deviceSupportMatrixRow("cpu-oracle", "cpu", "vendor", true, true, true, "fallback Backend", "host Family", "ready", "notes")
Console.Log(Text.From(sample.backend))
project.mech
manifestVersion = "2"
package = "api.example.compute_device__devicesupportmatrixrow"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "compute.buffer"
version = "0.1.0"
path = "../../../yeho/packages/compute/buffer"
[[dependencies]]
package = "compute.device"
version = "0.1.0"
path = "../../../yeho/packages/compute/device"
[[dependencies]]
package = "compute.tensor"
version = "0.1.0"
path = "../../../yeho/packages/compute/tensor"
[[dependencies]]
package = "console"
version = "0.1.0"
path = "../../../yeho/packages/console"
[[dependencies]]
package = "diagnostics"
version = "0.1.0"
path = "../../../yeho/packages/diagnostics"
deviceSupportMatrixRow.HasFallback
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using compute.device
// Has fallback.
deviceSupportMatrixRow instance = deviceSupportMatrixRow("cpu-oracle", "cpu", "vendor", true, true, true, "fallback Backend", "host Family", "ready", "notes")
bool result = instance.HasFallback()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.compute_device__devicesupportmatrixrow"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "compute.buffer"
version = "0.1.0"
path = "../../../yeho/packages/compute/buffer"
[[dependencies]]
package = "compute.device"
version = "0.1.0"
path = "../../../yeho/packages/compute/device"
[[dependencies]]
package = "compute.tensor"
version = "0.1.0"
path = "../../../yeho/packages/compute/tensor"
[[dependencies]]
package = "console"
version = "0.1.0"
path = "../../../yeho/packages/console"
[[dependencies]]
package = "diagnostics"
version = "0.1.0"
path = "../../../yeho/packages/diagnostics"
deviceSupportMatrixRow.Describe
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using compute.device
// Describe.
deviceSupportMatrixRow instance = deviceSupportMatrixRow("cpu-oracle", "cpu", "vendor", true, true, true, "fallback Backend", "host Family", "ready", "notes")
text result = instance.Describe()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.compute_device__devicesupportmatrixrow"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "compute.buffer"
version = "0.1.0"
path = "../../../yeho/packages/compute/buffer"
[[dependencies]]
package = "compute.device"
version = "0.1.0"
path = "../../../yeho/packages/compute/device"
[[dependencies]]
package = "compute.tensor"
version = "0.1.0"
path = "../../../yeho/packages/compute/tensor"
[[dependencies]]
package = "console"
version = "0.1.0"
path = "../../../yeho/packages/console"
[[dependencies]]
package = "diagnostics"
version = "0.1.0"
path = "../../../yeho/packages/diagnostics"
Notes and source
Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.
yeho/packages/compute/device/device.yh:169