{"id":"compute.parity--SimdLaneMismatchCount","name":"SimdLaneMismatchCount","owner":"yeho","package":"compute.parity","kind":"function","signature":"external SimdLaneMismatchCount(list of int scalarValues, list of int simdValues) returns int","description":"Simd lane mismatch count.","context":"Compare numerical results with explicit tolerances and CPU-reference evidence.","parameters":[{"name":"scalarValues","type":"list of int","description":"Supply scalar values as list of int."},{"name":"simdValues","type":"list of int","description":"Supply simd values 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/simd_parity.yh","line":54,"sha256":"4c516067449c359551586e183f536e875df13b8f86f9951ff71d6cc762b7267a"},"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 SimdLaneMismatchCount","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.\nlist of int scalarValues = []\nlist of int simdValues = []\nint result = SimdLaneMismatchCount(scalarValues, simdValues)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_parity__simdlanemismatchcount\"\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":"bb115f3320f218f78ee1e98e311fa9deb5b79b387061d3b6c9295c103c9f54b4","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=compute.parity--SimdLaneMismatchCount","json":"https://demonhunterlabs.com/reference/items/compute.parity--SimdLaneMismatchCount.json","markdown":"https://demonhunterlabs.com/reference/text/compute.parity--SimdLaneMismatchCount.md"}
