Skip to content

Commit

Permalink
BUG: avoid copying in GEMV benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
ev-br committed Jun 27, 2024
1 parent f68f1a1 commit 7ffe1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarks/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def time_axpy(self, n, variant):
gemv_sizes = [100, 200, 400, 600, 800, 1000]

def run_gemv(a, x, y, func):
res = func(1.0, a, x, y=y)
res = func(1.0, a, x, y=y, overwrite_y=True)
return res


Expand Down

0 comments on commit 7ffe1c5

Please sign in to comment.