Skip to content

Commit

Permalink
Add a comment about max_working_device_memory_size_in_megabyte
Browse files Browse the repository at this point in the history
  • Loading branch information
enp1s0 committed Jan 14, 2025
1 parent 642e329 commit 768ecba
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cpp/include/cuvs/neighbors/cagra.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ struct extend_params {
* 0. */
uint32_t max_chunk_size = 0;

/** The dataset chunk where the maximum size is defined by `max_chunk_size` is divided by
* sub-chunks to limit the working memory usage. This is the knob to control the working memory
* usage. Large working memory size can result in high throughput.
* */
uint32_t max_working_device_memory_size_in_megabyte = 512;
};

Expand Down

0 comments on commit 768ecba

Please sign in to comment.