compute.simd · thing ·
simdCapability
A simd capability record carrying name, target, laneFamily, laneBits, laneCount, and related state.
Describe and exercise bounded SIMD-style workloads and their fallback boundaries.
external thing simdCapabilityStatus: source-declared
Fields and methods (13)
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. Complete example
LaneShape() returns text- Lane shape. Complete example
IsTargetTuned() returns bool- Is target tuned. Complete example
Describe() returns text- Describe. Complete example
Use simdCapability
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.
simdCapability sample = simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes")
Console.Log(Text.From(sample.name))
project.mech
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"
simdCapability.VectorBits
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
// Vector bits.
simdCapability instance = simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes")
int result = instance.VectorBits()
Console.Log(Text.From(result))
project.mech
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"
simdCapability.LaneShape
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 shape.
simdCapability instance = simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes")
text result = instance.LaneShape()
Console.Log(Text.From(result))
project.mech
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"
simdCapability.IsTargetTuned
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
// Is target tuned.
simdCapability instance = simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes")
bool result = instance.IsTargetTuned()
Console.Log(Text.From(result))
project.mech
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"
simdCapability.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.
simdCapability instance = simdCapability("Nova", "target", "lane Family", 1, 1, true, "ready", "notes")
text result = instance.Describe()
Console.Log(Text.From(result))
project.mech
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"
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_capabilities.yh:2