Skip to content

Commit

Permalink
benchmark.py: pass constants to build & run steps (open-s4c#91)
Browse files Browse the repository at this point in the history
Signed-off-by: Antonio Paolillo <[email protected]>
  • Loading branch information
apaolillo authored Aug 22, 2024
1 parent 6405474 commit 402be0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions benchkit/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ def _build_one_bench(
self.clean_bench()
self.build_bench(
benchmark_duration_seconds=self._benchmark_duration_seconds,
constants=self._constants,
**build_variables,
)
return True
Expand Down Expand Up @@ -1040,6 +1041,7 @@ def str_param(value: List[str] | str) -> str:
single_run_return = self.single_run(
platform=self.platform,
benchmark_duration_seconds=self._benchmark_duration_seconds,
constants=self._constants,
build_variables=build_variables,
record_data_dir=temp_record_data_dir,
**run_variables,
Expand Down

0 comments on commit 402be0a

Please sign in to comment.