{"id":"compute.parity--IntBufferMismatchCount","name":"IntBufferMismatchCount","owner":"yeho","package":"compute.parity","kind":"function","signature":"external IntBufferMismatchCount(buffer of int actual, list of int expected) returns int","description":"Int buffer mismatch count.","context":"Compare numerical results with explicit tolerances and CPU-reference evidence.","parameters":[{"name":"actual","type":"buffer of int","description":"Supply actual as buffer of int."},{"name":"expected","type":"list of int","description":"Supply expected as list of int."}],"returns":"int","members":[],"tags":["compute","compute.parity","cpu","function","parity","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/parity/int_buffer_parity.yh","line":6,"sha256":"6636fde0c14326cbb1ad4ab3c474005760bd12b5fd8b13f51868b0480b00306a"},"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 IntBufferMismatchCount","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using compute.parity\n\n// Compare numerical results with explicit tolerances and CPU-reference evidence.\nbuffer of int actual\nactual.Resize(8)\nlist of int expected = []\nint result = IntBufferMismatchCount(actual, expected)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_parity__intbuffermismatchcount\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"compute.parity\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/parity\"\n\n[[dependencies]]\npackage = \"compute.profiling\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/profiling\"\n\n[[dependencies]]\npackage = \"compute.simd\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/simd\"\n\n[[dependencies]]\npackage = \"compute.tensor\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/compute/tensor\"\n\n[[dependencies]]\npackage = \"console\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/console\"\n\n[[dependencies]]\npackage = \"diagnostics\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/diagnostics\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"0d8fb5b3ea2a7ed88a6700819134287d54543f0cb5a4d12c78fd3c0de1bca9fb","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=compute.parity--IntBufferMismatchCount","json":"https://demonhunterlabs.com/reference/items/compute.parity--IntBufferMismatchCount.json","markdown":"https://demonhunterlabs.com/reference/text/compute.parity--IntBufferMismatchCount.md"}
