{"id":"compute.device--LiveDeviceCapabilityMatrix","name":"LiveDeviceCapabilityMatrix","owner":"yeho","package":"compute.device","kind":"function","signature":"external LiveDeviceCapabilityMatrix() returns list of deviceBackendCapability","description":"Live device capability matrix.","context":"Inspect device capability catalogs and model resource lifetimes and placement decisions.","parameters":[],"returns":"list of deviceBackendCapability","members":[],"tags":["compute","compute.device","cpu","device","function","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/device/device.yh","line":492,"sha256":"d567cec5c410960532c93c94cdb489280cbff52cec7785f98104cb8cd3ee181c"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use LiveDeviceCapabilityMatrix","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.device\n\n// Inspect device capability catalogs and model resource lifetimes and placement decisions.\nlist of deviceBackendCapability result = LiveDeviceCapabilityMatrix()\nConsole.Log(Text.From(result.count))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_device__livedevicecapabilitymatrix\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.buffer\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/buffer\"\n\n[[dependencies]]\npackage = \"compute.device\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/device\"\n\n[[dependencies]]\npackage = \"compute.tensor\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/tensor\"\n\n[[dependencies]]\npackage = \"console\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/console\"\n\n[[dependencies]]\npackage = \"diagnostics\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/diagnostics\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"47972f1b86f61badad61bdf33bce95f3bec31b2982922e2f133525645c6e7843","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=compute.device--LiveDeviceCapabilityMatrix","json":"https://demonhunterlabs.com/reference/items/compute.device--LiveDeviceCapabilityMatrix.json","markdown":"https://demonhunterlabs.com/reference/text/compute.device--LiveDeviceCapabilityMatrix.md"}
