compute.simd · thing ·

simdIntVector

A simd int vector record carrying label, capability, lanes, lowering, fallbackUsed, and related state.

computecompute.simdcpumethodsimdsource-examplethingyeho

Describe and exercise bounded SIMD-style workloads and their fallback boundaries.

external thing simdIntVector

Status: source-declared

Fields and methods (10)
text label
Stores label as text.
simdCapability capability
Stores capability as simdCapability.
list of int lanes
Stores lanes as list of int.
text lowering
Stores lowering as text.
bool fallbackUsed
Stores fallback used as bool.
text notes
Stores notes as text.
simdIntVector(text label, simdCapability capability, list of int lanes, text lowering, bool fallbackUsed, text notes)
Simd int vector.
LaneCount() returns int
Lane count. Complete example
Readback() returns list of int
Readback. Complete example
Describe() returns text
Describe. Complete example

Use simdIntVector

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.
simdIntVector sample = simdIntVector("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__simdintvector"
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"

simdIntVector.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.
simdIntVector instance = simdIntVector("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__simdintvector"
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"

simdIntVector.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.
simdIntVector instance = simdIntVector("Player health", simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes"), [], "lowering", true, "notes")
list of int result = instance.Readback()
Console.Log(Text.From(result.count))
project.mech
manifestVersion = "2"
package = "api.example.compute_simd__simdintvector"
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"

simdIntVector.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.
simdIntVector instance = simdIntVector("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__simdintvector"
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:156