Skip to content

Commit 9b92520

Browse files
committed
Implemented dynamic dispatch table for several distance backend optimizations
1 parent 88f75af commit 9b92520

File tree

10 files changed

+2382
-297
lines changed

10 files changed

+2382
-297
lines changed

src/distance-avx2.c

Lines changed: 516 additions & 0 deletions
Large diffs are not rendered by default.

src/distance-avx2.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
//
2+
// distance-avx2.h
3+
// sqlitevector
4+
//
5+
// Created by Marco Bambini on 20/06/25.
6+
//
7+
8+
#ifndef __VECTOR_DISTANCE_AVX2__
9+
#define __VECTOR_DISTANCE_AVX2__
10+
11+
#include <stdio.h>
12+
13+
void init_distance_functions_avx2 (void);
14+
15+
#endif

0 commit comments

Comments
 (0)