Skip to content

Commit 7ffe1c5

Browse files
committed
BUG: avoid copying in GEMV benchmarks
1 parent f68f1a1 commit 7ffe1c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/benchmarks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def time_axpy(self, n, variant):
9898
gemv_sizes = [100, 200, 400, 600, 800, 1000]
9999

100100
def run_gemv(a, x, y, func):
101-
res = func(1.0, a, x, y=y)
101+
res = func(1.0, a, x, y=y, overwrite_y=True)
102102
return res
103103

104104

0 commit comments

Comments
 (0)