compute.simd · thing ·
simdFloatVector
A simd float vector record carrying label, capability, lanes, lowering, fallbackUsed, and related state.
Describe and exercise bounded SIMD-style workloads and their fallback boundaries.
external thing simdFloatVectorStatus: source-declared
Fields and methods (10)
text label- Stores label as text.
simdCapability capability- Stores capability as simdCapability.
list of float lanes- Stores lanes as list of float.
text lowering- Stores lowering as text.
bool fallbackUsed- Stores fallback used as bool.
text notes- Stores notes as text.
simdFloatVector(text label, simdCapability capability, list of float lanes, text lowering, bool fallbackUsed, text notes)- Simd float vector.
LaneCount() returns int- Lane count. Complete example
Readback() returns list of float- Readback. Complete example
Describe() returns text- Describe. Complete example
Use simdFloatVector
A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.
cpu · source-example · type checked
using compute.simd
// Describe and exercise bounded SIMD-style workloads and their fallback boundaries.
simdFloatVector sample = simdFloatVector("Player health", simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes"), [], "lowering", true, "notes")
Console.Log(Text.From(sample.label))
project.mech
manifestVersion = "2"
package = "api.example.compute_simd__simdfloatvector"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "compute.simd"
version = "0.1.0"
path = "../../../yeho/packages/compute/simd"
simdFloatVector.LaneCount
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using compute.simd
// Lane count.
simdFloatVector instance = simdFloatVector("Player health", simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes"), [], "lowering", true, "notes")
int result = instance.LaneCount()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.compute_simd__simdfloatvector"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "compute.simd"
version = "0.1.0"
path = "../../../yeho/packages/compute/simd"
simdFloatVector.Readback
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using compute.simd
// Readback.
simdFloatVector instance = simdFloatVector("Player health", simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes"), [], "lowering", true, "notes")
list of float result = instance.Readback()
Console.Log(Text.From(result.count))
project.mech
manifestVersion = "2"
package = "api.example.compute_simd__simdfloatvector"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "compute.simd"
version = "0.1.0"
path = "../../../yeho/packages/compute/simd"
simdFloatVector.Describe
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using compute.simd
// Describe.
simdFloatVector instance = simdFloatVector("Player health", simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes"), [], "lowering", true, "notes")
text result = instance.Describe()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.compute_simd__simdfloatvector"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "compute.simd"
version = "0.1.0"
path = "../../../yeho/packages/compute/simd"
Notes and source
Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.
yeho/packages/compute/simd/simd_values.yh:198