{"id":"compute.graph--portableScheduleStep","name":"portableScheduleStep","owner":"yeho","package":"compute.graph","kind":"thing","signature":"external thing portableScheduleStep","description":"A portable schedule step record carrying ordinal, nodeName, requestedDevice, resolvedDevice, fallbackUsed, and related state.","context":"Describe compute work as an explicit graph with package-owned validation and scheduling metadata.","parameters":[],"returns":"void","members":[{"name":"ordinal","kind":"field","type":"int","description":"Stores ordinal as int.","signature":"int ordinal","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"nodeName","kind":"field","type":"text","description":"Stores node name as text.","signature":"text nodeName","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"requestedDevice","kind":"field","type":"text","description":"Stores requested device as text.","signature":"text requestedDevice","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"resolvedDevice","kind":"field","type":"text","description":"Stores resolved device as text.","signature":"text resolvedDevice","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"fallbackUsed","kind":"field","type":"bool","description":"Stores fallback used as bool.","signature":"bool fallbackUsed","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"fusedWithPrevious","kind":"field","type":"bool","description":"Stores fused with previous as bool.","signature":"bool fusedWithPrevious","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"cacheDecision","kind":"field","type":"text","description":"Stores cache decision as text.","signature":"text cacheDecision","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"specializationDecision","kind":"field","type":"text","description":"Stores specialization decision as text.","signature":"text specializationDecision","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"transferDecision","kind":"field","type":"text","description":"Stores transfer decision as text.","signature":"text transferDecision","tags":["thing","field","compute.graph"],"updated":"2026-09-09"},{"name":"portableScheduleStep","kind":"constructor","parameters":[{"name":"ordinal","type":"int","description":"Ordinal."},{"name":"nodeName","type":"text","description":"Node name."},{"name":"requestedDevice","type":"text","description":"Requested device."},{"name":"resolvedDevice","type":"text","description":"Resolved device."},{"name":"fallbackUsed","type":"bool","description":"Fallback used."},{"name":"fusedWithPrevious","type":"bool","description":"Fused with previous."},{"name":"cacheDecision","type":"text","description":"Cache decision."},{"name":"specializationDecision","type":"text","description":"Specialization decision."},{"name":"transferDecision","type":"text","description":"Transfer decision."}],"returns":"void","signature":"portableScheduleStep(int ordinal, text nodeName, text requestedDevice, text resolvedDevice, bool fallbackUsed, bool fusedWithPrevious, text cacheDecision, text specializationDecision, text transferDecision)","description":"Portable schedule step.","tags":["thing","constructor","compute.graph"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","compute.graph"],"exampleId":"method-Describe-10","updated":"2026-09-09"}],"tags":["compute","compute.graph","cpu","graph","method","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/graph/portable_contract.yh","line":189,"sha256":"7d368be12911192817194c8170d8f193f9b1b7d33e85834c9f44df101d82cf76"},"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 portableScheduleStep","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.graph\n\n// Describe compute work as an explicit graph with package-owned validation and scheduling metadata.\nportableScheduleStep sample = portableScheduleStep(1, \"node Name\", \"requested Device\", \"resolved Device\", true, true, \"cache Decision\", \"specialization Decision\", \"transfer Decision\")\nConsole.Log(Text.From(sample.ordinal))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__portableschedulestep\"\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.graph\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/graph\"\n\n[[dependencies]]\npackage = \"compute.kernels\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/kernels\"\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":"34116d2ce2d110441b8b3fe0d4f53d1d55b6edecaa8566e208027893094c93ba","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-10","title":"portableScheduleStep.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.graph\n\n// Describe.\nportableScheduleStep instance = portableScheduleStep(1, \"node Name\", \"requested Device\", \"resolved Device\", true, true, \"cache Decision\", \"specialization Decision\", \"transfer Decision\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_graph__portableschedulestep\"\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.graph\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/graph\"\n\n[[dependencies]]\npackage = \"compute.kernels\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/kernels\"\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":"97f2a7917b68299cdc6a1f3e8681512fbcc10413a06f4da6b282773473d23753","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["ordinal","nodeName","requestedDevice","resolvedDevice","fallbackUsed","fusedWithPrevious","cacheDecision","specializationDecision","transferDecision","portableScheduleStep","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.graph--portableScheduleStep","json":"https://demonhunterlabs.com/reference/items/compute.graph--portableScheduleStep.json","markdown":"https://demonhunterlabs.com/reference/text/compute.graph--portableScheduleStep.md"}
