Skip to content

Commit

Permalink
Fixing other places with the single search thread hang issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gopal-msr committed Oct 15, 2024
1 parent bae427e commit 64060e0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/pq_flash_index.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,6 @@ void PQFlashIndex<T, LabelT>::cache_bfs_levels(uint64_t num_nodes_to_cache, std:
}
diskann::cout << "Caching " << num_nodes_to_cache << "..." << std::endl;

// borrow thread data
ScratchStoreManager<SSDThreadData<T>> manager(this->_thread_data);
auto this_thread_data = manager.scratch_space();
IOContext &ctx = this_thread_data->ctx;

std::unique_ptr<tsl::robin_set<uint32_t>> cur_level, prev_level;
cur_level = std::make_unique<tsl::robin_set<uint32_t>>();
Expand Down

0 comments on commit 64060e0

Please sign in to comment.