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 21:33:32 +0330
commite806fe6cb655a5409bbceffa7058e2c5425f4a13 (patch)
treee062175e61c04160a4328e6faadd05107aeb2948 /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 0
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