compute.simd · function ·

TargetCapabilities

Target capabilities.

computecompute.simdcpufunctionsimdsource-exampleyeho

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

external TargetCapabilities(text target) returns list of simdCapability

Status: source-declared

Parameters

text target
Supply target as text.

Use TargetCapabilities

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.
text target = "target"
list of simdCapability result = TargetCapabilities(target)
Console.Log(Text.From(result.count))
project.mech
manifestVersion = "2"
package = "api.example.compute_simd__targetcapabilities"
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:106