{"id":"compute.accelerator--SelectAutotuningCandidate","name":"SelectAutotuningCandidate","owner":"yeho","package":"compute.accelerator","kind":"function","signature":"external SelectAutotuningCandidate(list of autotuningCandidate candidates, autotuningPolicy policy) returns autotuningDecision","description":"Select autotuning candidate.","context":"Describe accelerator capabilities and explicit placement boundaries.","parameters":[{"name":"candidates","type":"list of autotuningCandidate","description":"Supply candidates as list of autotuningCandidate."},{"name":"policy","type":"autotuningPolicy","description":"Supply policy as autotuningPolicy."}],"returns":"autotuningDecision","members":[],"tags":["accelerator","compute","compute.accelerator","cpu","function","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/accelerator/accelerator.yh","line":194,"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 SelectAutotuningCandidate","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.\nlist of autotuningCandidate candidates = []\nautotuningPolicy policy = autotuningPolicy(\"schema\", 1, 1, 1, 1, \"cache Key Fields\", \"invalidation\")\nautotuningDecision result = SelectAutotuningCandidate(candidates, policy)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_accelerator__selectautotuningcandidate\"\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":"b989d6f60f3aae6cba7cdef2510e7812cec6772358e4b8b1bd154f2ecd88bceb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=compute.accelerator--SelectAutotuningCandidate","json":"https://demonhunterlabs.com/reference/items/compute.accelerator--SelectAutotuningCandidate.json","markdown":"https://demonhunterlabs.com/reference/text/compute.accelerator--SelectAutotuningCandidate.md"}
