{"id":"compute.device--RenderDevicePlacementPlan","name":"RenderDevicePlacementPlan","owner":"yeho","package":"compute.device","kind":"function","signature":"external RenderDevicePlacementPlan(text title, text workload, text requestedBackend) returns text","description":"Format device placement plan as readable text.","context":"Inspect device capability catalogs and model resource lifetimes and placement decisions.","parameters":[{"name":"title","type":"text","description":"Supply title as text."},{"name":"workload","type":"text","description":"Supply workload as text."},{"name":"requestedBackend","type":"text","description":"Supply requested backend as text."}],"returns":"text","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":807,"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 RenderDevicePlacementPlan","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.\ntext title = \"Inventory\"\ntext workload = \"workload\"\ntext requestedBackend = \"requested Backend\"\ntext result = RenderDevicePlacementPlan(title, workload, requestedBackend)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_device__renderdeviceplacementplan\"\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":"348f9a6e6169318fd1c3fbf8fd78341fffee89ef6caa1928c41be019d8566c35","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=compute.device--RenderDevicePlacementPlan","json":"https://demonhunterlabs.com/reference/items/compute.device--RenderDevicePlacementPlan.json","markdown":"https://demonhunterlabs.com/reference/text/compute.device--RenderDevicePlacementPlan.md"}
