{"id":"compute.device--computeRuntimeEvent","name":"computeRuntimeEvent","owner":"yeho","package":"compute.device","kind":"thing","signature":"external thing computeRuntimeEvent","description":"A compute runtime event record carrying sequence, tick, kind, subject, byteCount, and related state.","context":"Inspect device capability catalogs and model resource lifetimes and placement decisions.","parameters":[],"returns":"void","members":[{"name":"sequence","kind":"field","type":"int","description":"Stores sequence as int.","signature":"int sequence","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"tick","kind":"field","type":"int","description":"Stores tick as int.","signature":"int tick","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"kind","kind":"field","type":"text","description":"Stores kind as text.","signature":"text kind","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"subject","kind":"field","type":"text","description":"Stores subject as text.","signature":"text subject","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"byteCount","kind":"field","type":"int","description":"Stores byte count as int.","signature":"int byteCount","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"implicitSynchronization","kind":"field","type":"bool","description":"Stores implicit synchronization as bool.","signature":"bool implicitSynchronization","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"status","kind":"field","type":"text","description":"Stores status as text.","signature":"text status","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","compute.device"],"updated":"2026-09-09"},{"name":"computeRuntimeEvent","kind":"constructor","parameters":[{"name":"sequence","type":"int","description":"Sequence."},{"name":"tick","type":"int","description":"Tick."},{"name":"kind","type":"text","description":"Kind."},{"name":"subject","type":"text","description":"Subject."},{"name":"byteCount","type":"int","description":"Byte count."},{"name":"implicitSynchronization","type":"bool","description":"Implicit synchronization."},{"name":"status","type":"text","description":"Status."},{"name":"diagnostic","type":"text","description":"Diagnostic."}],"returns":"void","signature":"computeRuntimeEvent(int sequence, int tick, text kind, text subject, int byteCount, bool implicitSynchronization, text status, text diagnostic)","description":"Compute runtime event.","tags":["thing","constructor","compute.device"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","compute.device"],"exampleId":"method-Describe-9","updated":"2026-09-09"}],"tags":["compute","compute.device","cpu","device","method","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/device/resource_runtime.yh","line":53,"sha256":"2a92eeb7f80b133685f1201e550fc5c4e9cd54eda12e6a9f9d05bf033efb60f0"},"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 computeRuntimeEvent","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.\ncomputeRuntimeEvent sample = computeRuntimeEvent(1, 1, \"kind\", \"subject\", 1, true, \"ready\", \"diagnostic\")\nConsole.Log(Text.From(sample.sequence))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_device__computeruntimeevent\"\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":"a6d17436b3d32f609862efec09a0bf1da0fdf7b3cf1115deb543edcfdedb13fe","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-9","title":"computeRuntimeEvent.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.device\n\n// Describe.\ncomputeRuntimeEvent instance = computeRuntimeEvent(1, 1, \"kind\", \"subject\", 1, true, \"ready\", \"diagnostic\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_device__computeruntimeevent\"\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","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"75f6ca12fc23c4da89a6e3821340870d811d31b60ba7cb0efb4c7a1d0ab51a4e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["sequence","tick","kind","subject","byteCount","implicitSynchronization","status","diagnostic","computeRuntimeEvent","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.device--computeRuntimeEvent","json":"https://demonhunterlabs.com/reference/items/compute.device--computeRuntimeEvent.json","markdown":"https://demonhunterlabs.com/reference/text/compute.device--computeRuntimeEvent.md"}
