#[repr(C)]pub struct cuvsCagraExtendParams {
pub max_chunk_size: u32,
}Expand description
@defgroup cagra_c_extend_params C API for CUDA ANN Graph-based nearest neighbor search @{ / /** @brief Supplemental parameters to extend CAGRA Index
Fields§
§max_chunk_size: u32The additional dataset is divided into chunks and added to the graph. This is the knob to adjust the tradeoff between the recall and operation throughput. Large chunk sizes can result in high throughput, but use more working memory (O(max_chunk_size*degree^2)). This can also degrade recall because no edges are added between the nodes in the same chunk. Auto select when 0.
Trait Implementations§
Source§impl Clone for cuvsCagraExtendParams
impl Clone for cuvsCagraExtendParams
Source§fn clone(&self) -> cuvsCagraExtendParams
fn clone(&self) -> cuvsCagraExtendParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for cuvsCagraExtendParams
Auto Trait Implementations§
impl Freeze for cuvsCagraExtendParams
impl RefUnwindSafe for cuvsCagraExtendParams
impl Send for cuvsCagraExtendParams
impl Sync for cuvsCagraExtendParams
impl Unpin for cuvsCagraExtendParams
impl UnsafeUnpin for cuvsCagraExtendParams
impl UnwindSafe for cuvsCagraExtendParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more