aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bench/arrays.zc2
-rw-r--r--tests/bench/suite.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/bench/arrays.zc b/tests/bench/arrays.zc
index bbe0f01..3dbe73a 100644
--- a/tests/bench/arrays.zc
+++ b/tests/bench/arrays.zc
@@ -41,7 +41,7 @@ fn main() {
fixed int[?] a = rt.new(fixed int[?], N * N);
fixed int[?] b = rt.new(fixed int[?], N * N);
fixed int[?] c = rt.new(fixed int[?], N * N);
- for (int i = 0; i < N * N; i++) { a[i] = i % 7 - 3; b[i] = i % 5 - 2; }
+ for (int i = 0; i < N * N; i++) { a[i] = i % 7 - 2; b[i] = i % 5 - 1; }
fixed int[?] data = rt.new(fixed int[?], G);
fixed int[?] idx = rt.new(fixed int[?], G);
// 7919 is prime and not 2 or 3, so i * 7919 mod 98304 (2^15 * 3) visits every slot once, in a scattered order
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