Skip to content

Commit

Permalink
Fix query_set initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
tfeher committed Nov 2, 2023
1 parent c310095 commit 777ded7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/bench/ann/src/common/benchmark.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ void bench_search(::benchmark::State& state,
// benchmark loop, therefore the synchronization here is necessary.
}
const auto algo_property = *current_algo_props;
query_set = dataset->query_set(algo_property.query_memory_type);

/**
* Each thread will manage its own outputs
Expand Down

0 comments on commit 777ded7

Please sign in to comment.