All Neighbors
Source header: cuvs/neighbors/all_neighbors.h
All-neighbors C-API build parameters
cuvsAllNeighborsAlgo
Graph build algorithm selection.
Values
cuvsAllNeighborsIndexParams
Parameters controlling SNMG all-neighbors build.
Fields
cuvsAllNeighborsIndexParamsCreate
Create a default all-neighbors index parameters struct.
Parameters
Returns
cuvsAllNeighborsIndexParamsDestroy
Destroy an all-neighbors index parameters struct.
Parameters
Returns
All-neighbors C-API build
cuvsAllNeighborsBuild
Build an all-neighbors k-NN graph automatically detecting host vs device dataset.
resources The function automatically detects whether the dataset is host-resident or device-resident and calls the appropriate implementation. For host datasets, it partitions data into n_clusters clusters and assigns each row to overlap_factor nearest clusters. For device datasets, n_clusters must be 1 (no batching); overlap_factor is ignored. Outputs always reside in device memory.
Parameters
Returns