# simdCapability

A simd capability record carrying name, target, laneFamily, laneBits, laneCount, 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 simdCapability
```

- text name: Stores name as text.
- text target: Stores target as text.
- text laneFamily: Stores lane family as text.
- int laneBits: Stores lane bits as int.
- int laneCount: Stores lane count as int.
- bool portable: Stores portable as bool.
- text status: Stores status as text.
- text notes: Stores notes as text.
- simdCapability(text name, text target, text laneFamily, int laneBits, int laneCount, bool portable, text status, text notes): Simd capability.
- VectorBits() returns int: Vector bits.
- LaneShape() returns text: Lane shape.
- IsTargetTuned() returns bool: Is target tuned.
- Describe() returns text: Describe.

## Use simdCapability

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.
simdCapability sample = simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes")
Console.Log(Text.From(sample.name))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.compute_simd__simdcapability"
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--simdCapability/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## simdCapability.VectorBits

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using compute.simd

// Vector bits.
simdCapability instance = simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes")
int result = instance.VectorBits()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.compute_simd__simdcapability"
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--simdCapability/method-VectorBits-9 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## simdCapability.LaneShape

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using compute.simd

// Lane shape.
simdCapability instance = simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes")
text result = instance.LaneShape()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.compute_simd__simdcapability"
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--simdCapability/method-LaneShape-10 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## simdCapability.IsTargetTuned

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using compute.simd

// Is target tuned.
simdCapability instance = simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes")
bool result = instance.IsTargetTuned()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.compute_simd__simdcapability"
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--simdCapability/method-IsTargetTuned-11 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## simdCapability.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.
simdCapability instance = simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes")
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__simdcapability"
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--simdCapability/method-Describe-12 --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_capabilities.yh

AI training permission: https://demonhunterlabs.com/ai-use
