{"id":"compute.simd--simdFloatVector","name":"simdFloatVector","owner":"yeho","package":"compute.simd","kind":"thing","signature":"external thing simdFloatVector","description":"A simd float 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 float","description":"Stores lanes as list of float.","signature":"list of float 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":"simdFloatVector","kind":"constructor","parameters":[{"name":"label","type":"text","description":"Label."},{"name":"capability","type":"simdCapability","description":"Capability."},{"name":"lanes","type":"list of float","description":"Lanes."},{"name":"lowering","type":"text","description":"Lowering."},{"name":"fallbackUsed","type":"bool","description":"Fallback used."},{"name":"notes","type":"text","description":"Notes."}],"returns":"void","signature":"simdFloatVector(text label, simdCapability capability, list of float lanes, text lowering, bool fallbackUsed, text notes)","description":"Simd float 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 float","signature":"Readback() returns list of float","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":198,"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 simdFloatVector","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.\nsimdFloatVector sample = simdFloatVector(\"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__simdfloatvector\"\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":"d5a914ae5a3a71d7d62d65db2b138ecff636915dedf036aedee633a841678a03","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-LaneCount-7","title":"simdFloatVector.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.\nsimdFloatVector instance = simdFloatVector(\"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__simdfloatvector\"\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":"362d6633c5b3364ec1918df5838b3097c8a6fdfab88af225af998a220cc87af5","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Readback-8","title":"simdFloatVector.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.\nsimdFloatVector instance = simdFloatVector(\"Player health\", simdCapability(\"Nova\", \"target\", \"lane Family\", 1, 1, true, \"ready\", \"notes\"), [], \"lowering\", true, \"notes\")\nlist of float result = instance.Readback()\nConsole.Log(Text.From(result.count))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_simd__simdfloatvector\"\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":"985fa94aaf54b19321c585cb431a81f940b12a9d65be20180335739c0c4e6068","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-9","title":"simdFloatVector.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.\nsimdFloatVector instance = simdFloatVector(\"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__simdfloatvector\"\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":"1fde4b47ff16d47b78ec1eef7f553deb2e81e68527432601d7730e92f5eab24e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["label","capability","lanes","lowering","fallbackUsed","notes","simdFloatVector","LaneCount","Readback","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=compute.simd--simdFloatVector","json":"https://demonhunterlabs.com/reference/items/compute.simd--simdFloatVector.json","markdown":"https://demonhunterlabs.com/reference/text/compute.simd--simdFloatVector.md"}
