mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-06 12:40:56 +08:00
Added CPU dispatching for halfvec distance functions - #311
Co-authored-by: Arda Aytekin <arda.aytekin@microsoft.com>
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
|
||||
#include "halfvec.h"
|
||||
|
||||
double HalfvecL2DistanceSquared(HalfVector * a, HalfVector * b);
|
||||
double HalfvecInnerProduct(HalfVector * a, HalfVector * b);
|
||||
extern float (*HalfvecL2DistanceSquared) (int dim, half * ax, half * bx);
|
||||
extern float (*HalfvecInnerProduct) (int dim, half * ax, half * bx);
|
||||
|
||||
void HalfvecInit(void);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user