Skip to content

Commit

Permalink
Merge pull request #717 from lqwk/development
Browse files Browse the repository at this point in the history
[bugfix] fix bug where we are not running the correct number of warmu…
  • Loading branch information
ChrisCummins authored Jun 19, 2022
2 parents 444b82f + 385c4aa commit 4e3f990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler_gym/envs/llvm/service/Benchmark.cc
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Status Benchmark::computeRuntime(Event& observation) {
// Run the warmup runs.
VLOG(3) << "Running " << getWarmupRunsPerRuntimeObservationCount()
<< " warmup iterations of binary";
for (int i = 0; i < getRuntimesPerObservationCount(); ++i) {
for (int i = 0; i < getWarmupRunsPerRuntimeObservationCount(); ++i) {
RETURN_IF_ERROR(cfg.runCommand().checkCall());
}

Expand Down

0 comments on commit 4e3f990

Please sign in to comment.