{"id":"compute.accelerator--acceleratorBenchmarkManifest","name":"acceleratorBenchmarkManifest","owner":"yeho","package":"compute.accelerator","kind":"thing","signature":"external thing acceleratorBenchmarkManifest","description":"A accelerator benchmark manifest record carrying schema, workload, correctnessPolicy, warmupRuns, sampleRuns, and related state.","context":"Describe accelerator capabilities and explicit placement boundaries.","parameters":[],"returns":"void","members":[{"name":"schema","kind":"field","type":"text","description":"Stores schema as text.","signature":"text schema","tags":["thing","field","compute.accelerator"],"updated":"2026-09-09"},{"name":"workload","kind":"field","type":"text","description":"Stores workload as text.","signature":"text workload","tags":["thing","field","compute.accelerator"],"updated":"2026-09-09"},{"name":"correctnessPolicy","kind":"field","type":"text","description":"Stores correctness policy as text.","signature":"text correctnessPolicy","tags":["thing","field","compute.accelerator"],"updated":"2026-09-09"},{"name":"warmupRuns","kind":"field","type":"int","description":"Stores warmup runs as int.","signature":"int warmupRuns","tags":["thing","field","compute.accelerator"],"updated":"2026-09-09"},{"name":"sampleRuns","kind":"field","type":"int","description":"Stores sample runs as int.","signature":"int sampleRuns","tags":["thing","field","compute.accelerator"],"updated":"2026-09-09"},{"name":"elementCount","kind":"field","type":"int","description":"Stores element count as int.","signature":"int elementCount","tags":["thing","field","compute.accelerator"],"updated":"2026-09-09"},{"name":"seed","kind":"field","type":"int","description":"Stores seed as int.","signature":"int seed","tags":["thing","field","compute.accelerator"],"updated":"2026-09-09"},{"name":"regressionPercent","kind":"field","type":"int","description":"Stores regression percent as int.","signature":"int regressionPercent","tags":["thing","field","compute.accelerator"],"updated":"2026-09-09"},{"name":"uncertaintyPercent","kind":"field","type":"int","description":"Stores uncertainty percent as int.","signature":"int uncertaintyPercent","tags":["thing","field","compute.accelerator"],"updated":"2026-09-09"},{"name":"acceleratorBenchmarkManifest","kind":"constructor","parameters":[{"name":"schema","type":"text","description":"Schema."},{"name":"workload","type":"text","description":"Workload."},{"name":"correctnessPolicy","type":"text","description":"Correctness policy."},{"name":"warmupRuns","type":"int","description":"Warmup runs."},{"name":"sampleRuns","type":"int","description":"Sample runs."},{"name":"elementCount","type":"int","description":"Element count."},{"name":"seed","type":"int","description":"Seed."},{"name":"regressionPercent","type":"int","description":"Regression percent."},{"name":"uncertaintyPercent","type":"int","description":"Uncertainty percent."}],"returns":"void","signature":"acceleratorBenchmarkManifest(text schema, text workload, text correctnessPolicy, int warmupRuns, int sampleRuns, int elementCount, int seed, int regressionPercent, int uncertaintyPercent)","description":"Accelerator benchmark manifest.","tags":["thing","constructor","compute.accelerator"],"updated":"2026-09-09"},{"name":"IsValid","kind":"method","parameters":[],"returns":"bool","signature":"IsValid() returns bool","description":"Is valid.","tags":["thing","method","compute.accelerator"],"exampleId":"method-IsValid-10","updated":"2026-09-09"}],"tags":["accelerator","compute","compute.accelerator","cpu","method","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/accelerator/accelerator.yh","line":35,"sha256":"4a5575b3e69481d90c2c7322dabea16851f23cdf654342127c36726c1475a86a"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use acceleratorBenchmarkManifest","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.accelerator\n\n// Describe accelerator capabilities and explicit placement boundaries.\nacceleratorBenchmarkManifest sample = acceleratorBenchmarkManifest(\"schema\", \"workload\", \"correctness Policy\", 1, 1, 1, 1, 1, 1)\nConsole.Log(Text.From(sample.schema))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_accelerator__acceleratorbenchmarkmanifest\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.accelerator\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/accelerator\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"06262a689edeb4daede4a61ac738d3312fbfe1a11613a57da1c8f2d67c8eb635","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-IsValid-10","title":"acceleratorBenchmarkManifest.IsValid","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using compute.accelerator\n\n// Is valid.\nacceleratorBenchmarkManifest instance = acceleratorBenchmarkManifest(\"schema\", \"workload\", \"correctness Policy\", 1, 1, 1, 1, 1, 1)\nbool result = instance.IsValid()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_accelerator__acceleratorbenchmarkmanifest\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.accelerator\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/accelerator\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"fe62192d581853a05a41d05aeb22842e089f170c6259b2fb04245d67d98b4a5a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["schema","workload","correctnessPolicy","warmupRuns","sampleRuns","elementCount","seed","regressionPercent","uncertaintyPercent","acceleratorBenchmarkManifest","IsValid"],"url":"https://demonhunterlabs.com/academy/api?item=compute.accelerator--acceleratorBenchmarkManifest","json":"https://demonhunterlabs.com/reference/items/compute.accelerator--acceleratorBenchmarkManifest.json","markdown":"https://demonhunterlabs.com/reference/text/compute.accelerator--acceleratorBenchmarkManifest.md"}
