{"id":"compute.parity--CompareCpuAndSimdIntListsWithTolerance","name":"CompareCpuAndSimdIntListsWithTolerance","owner":"yeho","package":"compute.parity","kind":"function","signature":"external CompareCpuAndSimdIntListsWithTolerance(text label, list of int cpuValues, list of int simdValues, int tolerance) returns paritySummary","description":"Compare cpu and simd int lists with tolerance.","context":"Compare numerical results with explicit tolerances and CPU-reference evidence.","parameters":[{"name":"label","type":"text","description":"Supply label as text."},{"name":"cpuValues","type":"list of int","description":"Supply cpu values as list of int."},{"name":"simdValues","type":"list of int","description":"Supply simd values as list of int."},{"name":"tolerance","type":"int","description":"Supply tolerance as int."}],"returns":"paritySummary","members":[],"tags":["compute","compute.parity","cpu","function","parity","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/compute/parity/parity_reports.yh","line":161,"sha256":"d3e5e20497f1fa9247dd9faae7257917966e51621273f167165ec16567ef78a4"},"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 CompareCpuAndSimdIntListsWithTolerance","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.\ntext label = \"Player health\"\nlist of int cpuValues = []\nlist of int simdValues = []\nint tolerance = 1\nparitySummary result = CompareCpuAndSimdIntListsWithTolerance(label, cpuValues, simdValues, tolerance)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.compute_parity__comparecpuandsimdintlistswithtolerance\"\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":"527fc0beb263356156b7aeedb721c6fd56f36da2c0fa199328c90973057da0cf","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=compute.parity--CompareCpuAndSimdIntListsWithTolerance","json":"https://demonhunterlabs.com/reference/items/compute.parity--CompareCpuAndSimdIntListsWithTolerance.json","markdown":"https://demonhunterlabs.com/reference/text/compute.parity--CompareCpuAndSimdIntListsWithTolerance.md"}
