Examples

Code examples for the XVector suite, grouped by the layer you work at:

Example set Layer When to Use
XVector C API Host-side, plus one pxcc example Run KNN exact search from your application via the pure C API, and add your own MU kernel to a search
Writing XArith Kernels Device-side Learn the VPE programming model to write custom MU kernels
XArith Example Projects Device-side Build and run the shipped sample projects — one pxcc single-source main.cpp per demo with an embedded device kernel

For the Faiss-compatible path, see XFaiss.