aboutsummaryrefslogtreecommitdiff
path: root/tests/bench/suite.py
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 20:23:59 +0330
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 20:23:59 +0330
commit4f68077352c3b32fbeca7252095d8e61d5fd4426 (patch)
tree56aab4bd461f67bb506f59635c1778f1dca1e2e1 /tests/bench/suite.py
parentbench: a nonzero zy exit (1 compile error, 2 trap) or a wrong checksum fails ... (diff)
bench: matmul fill a = i % 7 - 2, b = i % 5 - 1 so its checksum is 63760 (checked against a python reference), not 0work/bench
Diffstat (limited to 'tests/bench/suite.py')
-rw-r--r--tests/bench/suite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bench/suite.py b/tests/bench/suite.py
index a30f40f..83677f5 100644
--- a/tests/bench/suite.py
+++ b/tests/bench/suite.py
@@ -57,7 +57,7 @@ SWEEPS = [
# what each row prints, when the suite knows it (the checksum doesn't depend on the
# repetition count). a row that prints something else fails the bench
EXPECT = {
- "zy:arrays.matmul": "0",
+ "zy:arrays.matmul": "63760",
"zy:arrays.gather": "4831789056",
}
# where each row's checks are counted: the source and the function (bench.sh rows are