Skip to content

Commit

Permalink
Update cpp/src/neighbors/detail/cagra/search_plan.cuh
Browse files Browse the repository at this point in the history
Co-authored-by: Tamas Bela Feher <[email protected]>
  • Loading branch information
anaruse and tfeher authored Dec 5, 2024
1 parent e1a71e9 commit ae7fbf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/src/neighbors/detail/cagra/search_plan.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ struct search_plan_impl : public search_plan_impl_base {
while (max_visited_nodes > hashmap::get_size(hash_bitlen) * max_fill_rate) {
hash_bitlen += 1;
}
RAFT_EXPECTS(hash_bitlen <= 20, "hash_bitlen cannot be largen than 20 (1M)");
RAFT_EXPECTS(hash_bitlen <= 20, "hash_bitlen cannot be largen than 20 (1M). You can decrease itopk_size, search_width or max_iterations to reduce the required hashmap size.");
}
}
RAFT_LOG_DEBUG("# internal topK = %lu", itopk_size);
Expand Down

0 comments on commit ae7fbf5

Please sign in to comment.