{"id":"compute.simd--simdCapability","name":"simdCapability","owner":"yeho","package":"compute.simd","kind":"thing","signature":"external thing simdCapability","description":"A simd capability record carrying name, target, laneFamily, laneBits, laneCount, and related state.","context":"Describe and exercise bounded SIMD-style workloads and their fallback boundaries.","parameters":[],"returns":"void","members":[{"name":"name","kind":"field","type":"text","description":"Stores name as text.","signature":"text name","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"target","kind":"field","type":"text","description":"Stores target as text.","signature":"text target","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"laneFamily","kind":"field","type":"text","description":"Stores lane family as text.","signature":"text laneFamily","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"laneBits","kind":"field","type":"int","description":"Stores lane bits as int.","signature":"int laneBits","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"laneCount","kind":"field","type":"int","description":"Stores lane count as int.","signature":"int laneCount","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"portable","kind":"field","type":"bool","description":"Stores portable as bool.","signature":"bool portable","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"status","kind":"field","type":"text","description":"Stores status as text.","signature":"text status","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"notes","kind":"field","type":"text","description":"Stores notes as text.","signature":"text notes","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"simdCapability","kind":"constructor","parameters":[{"name":"name","type":"text","description":"Name."},{"name":"target","type":"text","description":"Target."},{"name":"laneFamily","type":"text","description":"Lane family."},{"name":"laneBits","type":"int","description":"Lane bits."},{"name":"laneCount","type":"int","description":"Lane count."},{"name":"portable","type":"bool","description":"Portable."},{"name":"status","type":"text","description":"Status."},{"name":"notes","type":"text","description":"Notes."}],"returns":"void","signature":"simdCapability(text name, text target, text laneFamily, int laneBits, int laneCount, bool portable, text status, text notes)","description":"Simd capability.","tags":["thing","constructor","compute.simd"],"updated":"2026-09-09"},{"name":"VectorBits","kind":"method","parameters":[],"returns":"int","signature":"VectorBits() returns int","description":"Vector bits.","tags":["thing","method","compute.simd"],"exampleId":"method-VectorBits-9","updated":"2026-09-09"},{"name":"LaneShape","kind":"method","parameters":[],"returns":"text","signature":"LaneShape() returns text","description":"Lane shape.","tags":["thing","method","compute.simd"],"exampleId":"method-LaneShape-10","updated":"2026-09-09"},{"name":"IsTargetTuned","kind":"method","parameters":[],"returns":"bool","signature":"IsTargetTuned() returns bool","description":"Is target tuned.","tags":["thing","method","compute.simd"],"exampleId":"method-IsTargetTuned-11","updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","compute.simd"],"exampleId":"method-Describe-12","updated":"2026-09-09"}],"tags":["compute","compute.simd","cpu","method","simd","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/simd/simd_capabilities.yh","line":2,"sha256":"7b32f61afebbbb681f59a858fad0dc2e6ce8dd0bb731f0ed4c843ba638141119"},"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 simdCapability","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.simd\n\n// Describe and exercise bounded SIMD-style workloads and their fallback boundaries.\nsimdCapability sample = simdCapability(\"Nova\", \"target\", \"lane Family\", 1, 1, true, \"ready\", \"notes\")\nConsole.Log(Text.From(sample.name))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_simd__simdcapability\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.simd\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/simd\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"278f0a7a9b1814e3d05155687b365acf7aa3b512c5a93b40fd85db2d637a17cd","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-VectorBits-9","title":"simdCapability.VectorBits","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.simd\n\n// Vector bits.\nsimdCapability instance = simdCapability(\"Nova\", \"target\", \"lane Family\", 1, 1, true, \"ready\", \"notes\")\nint result = instance.VectorBits()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_simd__simdcapability\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.simd\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/simd\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"3b1b550a3a5c83d7083c0eac5da5a7a780e4f9ffcf545fb89309df9ad1b22622","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-LaneShape-10","title":"simdCapability.LaneShape","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.simd\n\n// Lane shape.\nsimdCapability instance = simdCapability(\"Nova\", \"target\", \"lane Family\", 1, 1, true, \"ready\", \"notes\")\ntext result = instance.LaneShape()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_simd__simdcapability\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.simd\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/simd\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"13d7e45684628c792f237c8438c97f06c215907d3dd0d0443e3ab37879579468","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IsTargetTuned-11","title":"simdCapability.IsTargetTuned","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.simd\n\n// Is target tuned.\nsimdCapability instance = simdCapability(\"Nova\", \"target\", \"lane Family\", 1, 1, true, \"ready\", \"notes\")\nbool result = instance.IsTargetTuned()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_simd__simdcapability\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.simd\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/simd\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"687c45e50c765fb9a5ca4f468f07cd3592392d810767767300e5bf6896457b96","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-12","title":"simdCapability.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.simd\n\n// Describe.\nsimdCapability instance = simdCapability(\"Nova\", \"target\", \"lane Family\", 1, 1, true, \"ready\", \"notes\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_simd__simdcapability\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.simd\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/simd\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"4d44f4f982650759c837b3ce4a68bb8f980400d468db6a9755d8ceadc4eea5cf","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["name","target","laneFamily","laneBits","laneCount","portable","status","notes","simdCapability","VectorBits","LaneShape","IsTargetTuned","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.simd--simdCapability","json":"https://demonhunterlabs.com/reference/items/compute.simd--simdCapability.json","markdown":"https://demonhunterlabs.com/reference/text/compute.simd--simdCapability.md"}
