Expand description
Runtime-bound safe Rust integration for the scoped cuVS surface used by Algeon.
Published as an Algeon implementation dependency. Applications use
algeon-datafusion; workspace code
uses this crate for its component contracts. See the
API documentation boundary.
Structs§
- Brute
Force Index - A brute-force index that retains the dataset borrow and exact runtime binding.
- Cagra
Index - Query-local CAGRA index with a device-padded dataset. Rows already aligned to 16 bytes use a borrowed padded view; other rows use an owning padded copy. Native search requires a device-padded index (components/cuvs/cuvs/c/src/neighbors/cagra.cpp:1843).
- Cagra
Index Params - Cagra
Search Params - Cuvs
Resources - One serialized cuVS resource generation for an exact cudf runtime binding.
- Device
Buffer - A typed owner for a cudf runtime-allocated device buffer.
- Device
Tensor - A lifetime-bound, read-only CUDA tensor descriptor.
- Device
Tensor Mut - A lifetime-bound, exclusive CUDA tensor descriptor.
- Error
- IvfFlat
Index - Query-local owned IVF-Flat index. Native build copies the indexed vectors.
- IvfFlat
Index Params - IvfFlat
Search Params - IvfPq
Index - Query-local owned IVF-PQ index. Native build copies the indexed vectors.
- IvfPq
Index Params - IvfPq
Search Params - KMeans
Fit - KMeans
Model - KMeans
Params - KMeans
Prediction - KnnSearch
Output - Owned
Matrix - An owned contiguous numeric matrix on one exact cudf execution binding.
- PcaFit
Transform - PcaOutput
Buffers - Caller-owned device outputs for one PCA fit-transform operation.
- PcaParams
- Prepared
Tensor Lease - An activated prepared-export read plus its lifetime-bound tensor view.
- Prepared
Validated Tensor Lease - A prepared list read with floating finite validation or integer structural validation.
- Stream
Pool Coverage - Retains query-domain members or backend routes until native work on the RAFT pool is finished. Drop this guard before the resources handle destroys or replaces its pool.
- Validated
Device Tensor - A read-only tensor with finite-scanned floating values or validated integer shape.
Enums§
- Cagra
Build Algo - Cagra
Search Algo - Distance
Metric - Error
Kind - Error
Status - IvfPq
Codebook Kind - KMeans
Init - KMeans
Metric - Matrix
Layout - PcaSolver
Traits§
- Cagra
Element - Device
Element - Element type of a cuVS device buffer or tensor.
- IvfElement
- KMeans
Element - Pairwise
Element
Functions§
- fit_
transform_ owned - Run PCA against an exclusively owned packed matrix.
- pairwise_
distance_ into - Writes the row-major
[x.rows(), y.rows()]metric matrix toout. Both inputs must share dimensions, layout, binding, and device. - select_
k_ into - Selects
ksorted values per row, writing[batch, k]row-major values and zero-based positions. Equal-value selection at the k boundary is unspecified.