compute.simd · thing ·

simdCapabilitySelection

A simd capability selection record carrying target, laneFamily, selected, fallbackUsed, reason, and related state.

computecompute.simdcpumethodsimdsource-examplethingyeho

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

external thing simdCapabilitySelection

Status: source-declared

Fields and methods (7)
text target
Stores target as text.
text laneFamily
Stores lane family as text.
simdCapability selected
Stores selected as simdCapability.
bool fallbackUsed
Stores fallback used as bool.
text reason
Stores reason as text.
text notes
Stores notes as text.
Describe() returns text
Describe. Complete example

Use simdCapabilitySelection

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.
simdCapabilitySelection sample = simdCapabilitySelection()
Console.Log(Text.From(sample.target))
project.mech
manifestVersion = "2"
package = "api.example.compute_simd__simdcapabilityselection"
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"

simdCapabilitySelection.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.
simdCapabilitySelection instance = simdCapabilitySelection()
text result = instance.Describe()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.compute_simd__simdcapabilityselection"
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_selection.yh:2