# simdCapabilitySelection

A simd capability selection record carrying target, laneFamily, selected, fallbackUsed, reason, and related state.

Last updated: 2026-09-09

Package: compute.simd | Status: source-declared

Tags: compute, compute.simd, cpu, method, simd, source-example, thing, yeho

Describe and exercise bounded SIMD-style workloads and their fallback boundaries.

```yh
external thing simdCapabilitySelection
```

- 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.

## Use simdCapabilitySelection

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
using compute.simd

// Describe and exercise bounded SIMD-style workloads and their fallback boundaries.
simdCapabilitySelection sample = simdCapabilitySelection()
Console.Log(Text.From(sample.target))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/compute.simd--simdCapabilitySelection/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## simdCapabilitySelection.Describe

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using compute.simd

// Describe.
simdCapabilitySelection instance = simdCapabilitySelection()
text result = instance.Describe()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
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"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/compute.simd--simdCapabilitySelection/method-Describe-6 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

Source: yeho/packages/compute/simd/simd_selection.yh

AI training permission: https://demonhunterlabs.com/ai-use
