compute.accelerator · thing ·
acceleratorBenchmarkManifest
A accelerator benchmark manifest record carrying schema, workload, correctnessPolicy, warmupRuns, sampleRuns, and related state.
Describe accelerator capabilities and explicit placement boundaries.
external thing acceleratorBenchmarkManifestStatus: source-declared
Fields and methods (11)
text schema- Stores schema as text.
text workload- Stores workload as text.
text correctnessPolicy- Stores correctness policy as text.
int warmupRuns- Stores warmup runs as int.
int sampleRuns- Stores sample runs as int.
int elementCount- Stores element count as int.
int seed- Stores seed as int.
int regressionPercent- Stores regression percent as int.
int uncertaintyPercent- Stores uncertainty percent as int.
acceleratorBenchmarkManifest(text schema, text workload, text correctnessPolicy, int warmupRuns, int sampleRuns, int elementCount, int seed, int regressionPercent, int uncertaintyPercent)- Accelerator benchmark manifest.
IsValid() returns bool- Is valid. Complete example
Use acceleratorBenchmarkManifest
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.accelerator
// Describe accelerator capabilities and explicit placement boundaries.
acceleratorBenchmarkManifest sample = acceleratorBenchmarkManifest("schema", "workload", "correctness Policy", 1, 1, 1, 1, 1, 1)
Console.Log(Text.From(sample.schema))
project.mech
manifestVersion = "2"
package = "api.example.compute_accelerator__acceleratorbenchmarkmanifest"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "compute.accelerator"
version = "0.1.0"
path = "../../../yeho/packages/compute/accelerator"
acceleratorBenchmarkManifest.IsValid
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.accelerator
// Is valid.
acceleratorBenchmarkManifest instance = acceleratorBenchmarkManifest("schema", "workload", "correctness Policy", 1, 1, 1, 1, 1, 1)
bool result = instance.IsValid()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.compute_accelerator__acceleratorbenchmarkmanifest"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "compute.accelerator"
version = "0.1.0"
path = "../../../yeho/packages/compute/accelerator"
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/accelerator/accelerator.yh:35