Skip to content

Commit

Permalink
Adjusting end-to-end start time so it doesn't include stream creation…
Browse files Browse the repository at this point in the history
… time
  • Loading branch information
cjnolet committed Nov 13, 2023
1 parent e5bea87 commit 6ef2498
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/bench/ann/src/common/benchmark.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,8 @@ void bench_search(::benchmark::State& state,
std::shared_ptr<buf<std::size_t>> neighbors =
std::make_shared<buf<std::size_t>>(algo_property.query_memory_type, k * query_set_size);

auto start = std::chrono::high_resolution_clock::now();
cuda_timer gpu_timer;
auto start = std::chrono::high_resolution_clock::now();
{
nvtx_case nvtx{state.name()};

Expand Down

0 comments on commit 6ef2498

Please sign in to comment.