68 xvecKnnExactIndexTag** outIndexHandle);
87 const char* indexFilePath,
88 xvecKnnExactIndexTag** outIndexHandle);
105 xvecKnnExactIndexTag* indexHandle);
154 xvecKnnExactIndexTag* indexHandle,
156 xvecBufferTag* resultsBufferHandle,
Search query parameters for KNN brute-force search.
xvecStatus xvecKnnExactPrepareKernel(xvecExecutionContextTag *context)
Pre-initializes PXL resources (Job, Module, Function) for KNN search.
xvecStatus xvecKnnExactLoadIndexFromRawVectors(xvecExecutionContextTag *context, const xvecFloat32 *vectors, xvecVectorIdType vectorCount, xvecDimensionType dimension, xvecDistanceType distanceType, xvecKnnExactIndexTag **outIndexHandle)
Loads a KNN index from raw float32 vectors.
xvecStatus xvecKnnExactDestroyIndex(xvecExecutionContextTag *context, xvecKnnExactIndexTag *indexHandle)
Destroys a KNN index handle and releases its host-side data.
struct xvecKnnExactSearchTiming xvecKnnExactSearchTiming
xvecStatus xvecKnnExactSearch(xvecExecutionContextTag *context, xvecKnnExactIndexTag *indexHandle, xvecKnnExactSearchQueryFloat32 *searchQuery, xvecBufferTag *resultsBufferHandle, xvecKnnExactSearchTiming *outTiming)
Performs a brute-force K-nearest neighbors search.
xvecStatus xvecKnnExactLoadIndexFromFaissFile(xvecExecutionContextTag *context, const char *indexFilePath, xvecKnnExactIndexTag **outIndexHandle)
Loads a KNN index from a Faiss IndexFlat file.
Core types, enums, and structures for the XVector library.
uint32_t xvecDimensionType
Type for vector dimension.
xvecStatus
Status codes returned by XVector API functions.
xvecDistanceType
Distance/similarity metrics for vector search.
float xvecFloat32
32-bit floating point type for vector components.
uint64_t xvecVectorIdType
Type for vector identifiers.