{"id":"compute.simd--simdIntVector","name":"simdIntVector","owner":"yeho","package":"compute.simd","kind":"thing","signature":"external thing simdIntVector","description":"A simd int vector record carrying label, capability, lanes, lowering, fallbackUsed, and related state.","context":"Describe and exercise bounded SIMD-style workloads and their fallback boundaries.","parameters":[],"returns":"void","members":[{"name":"label","kind":"field","type":"text","description":"Stores label as text.","signature":"text label","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"capability","kind":"field","type":"simdCapability","description":"Stores capability as simdCapability.","signature":"simdCapability capability","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"lanes","kind":"field","type":"list of int","description":"Stores lanes as list of int.","signature":"list of int lanes","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"lowering","kind":"field","type":"text","description":"Stores lowering as text.","signature":"text lowering","tags":["thing","field","compute.simd"],"updated":"2026-09-09"},{"name":"fallbackUsed","kind":"field","type":"bool","description":"Stores fallback used as bool.","signature":"bool fallbackUsed","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":"simdIntVector","kind":"constructor","parameters":[{"name":"label","type":"text","description":"Label."},{"name":"capability","type":"simdCapability","description":"Capability."},{"name":"lanes","type":"list of int","description":"Lanes."},{"name":"lowering","type":"text","description":"Lowering."},{"name":"fallbackUsed","type":"bool","description":"Fallback used."},{"name":"notes","type":"text","description":"Notes."}],"returns":"void","signature":"simdIntVector(text label, simdCapability capability, list of int lanes, text lowering, bool fallbackUsed, text notes)","description":"Simd int vector.","tags":["thing","constructor","compute.simd"],"updated":"2026-09-09"},{"name":"LaneCount","kind":"method","parameters":[],"returns":"int","signature":"LaneCount() returns int","description":"Lane count.","tags":["thing","method","compute.simd"],"exampleId":"method-LaneCount-7","updated":"2026-09-09"},{"name":"Readback","kind":"method","parameters":[],"returns":"list of int","signature":"Readback() returns list of int","description":"Readback.","tags":["thing","method","compute.simd"],"exampleId":"method-Readback-8","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-9","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_values.yh","line":156,"sha256":"994b758be7b003eb1e1e74108a68c1c9fcbc9ec569abe9939e877b55c830c0db"},"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 simdIntVector","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.\nsimdIntVector sample = simdIntVector(\"Player health\", simdCapability(\"Nova\", \"target\", \"lane Family\", 1, 1, true, \"ready\", \"notes\"), [], \"lowering\", true, \"notes\")\nConsole.Log(Text.From(sample.label))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_simd__simdintvector\"\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":"25ed6275f3f25a4c265998489ca9092534dbb2f8a55469969e72368e17fe1f14","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-LaneCount-7","title":"simdIntVector.LaneCount","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 count.\nsimdIntVector instance = simdIntVector(\"Player health\", simdCapability(\"Nova\", \"target\", \"lane Family\", 1, 1, true, \"ready\", \"notes\"), [], \"lowering\", true, \"notes\")\nint result = instance.LaneCount()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_simd__simdintvector\"\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":"330c8d00c1af708f5e081e08e6173a9671dd9e81f62415e2069531727fdf663a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Readback-8","title":"simdIntVector.Readback","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.simd\n\n// Readback.\nsimdIntVector instance = simdIntVector(\"Player health\", simdCapability(\"Nova\", \"target\", \"lane Family\", 1, 1, true, \"ready\", \"notes\"), [], \"lowering\", true, \"notes\")\nlist of int result = instance.Readback()\nConsole.Log(Text.From(result.count))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_simd__simdintvector\"\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":"64c868ddb796c924e710136524898d85b27fda376e90c90edb3b290ad1bce34f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-9","title":"simdIntVector.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.\nsimdIntVector instance = simdIntVector(\"Player health\", simdCapability(\"Nova\", \"target\", \"lane Family\", 1, 1, true, \"ready\", \"notes\"), [], \"lowering\", true, \"notes\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_simd__simdintvector\"\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":"e51ca815783bd7277f4642cb3685fa19e221911cea62f16131f8f41c2dccc651","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["label","capability","lanes","lowering","fallbackUsed","notes","simdIntVector","LaneCount","Readback","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.simd--simdIntVector","json":"https://demonhunterlabs.com/reference/items/compute.simd--simdIntVector.json","markdown":"https://demonhunterlabs.com/reference/text/compute.simd--simdIntVector.md"}
