mirror of
https://github.com/pgvector/pgvector.git
synced 2026-12-04 00:08:30 +00:00
Improved performance of vector distance functions with AVX-512F [skip ci]
This commit is contained in:
1 parent
5804afacba
commit
13f13fb6bb
2 files changed
+2
-1
No files matched your search
@@ -3,6 +3,7 @@
|
||||
- Added asynchronous I/O for indexes
|
||||
- Added vacuuming progress for indexes
|
||||
- Added `vector_dims` function for `sparsevec`
|
||||
- Improved performance of `vector` distance functions with AVX-512F
|
||||
- Improved performance of IVFFlat index scans
|
||||
- Improved performance of HNSW inserts with `sparsevec`
|
||||
- Improved `amvalidate` for indexes
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#include "vecutils.h"
|
||||
|
||||
#if defined(USE_TARGET_CLONES) && !defined(__FMA__)
|
||||
#define VECTOR_TARGET_CLONES __attribute__((target_clones("default", "fma")))
|
||||
#define VECTOR_TARGET_CLONES __attribute__((target_clones("default", "fma", "avx512f")))
|
||||
#else
|
||||
#define VECTOR_TARGET_CLONES
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user