mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-14 16:46:54 +08:00
Test
This commit is contained in:
@@ -9,7 +9,7 @@ REGRESS_OPTS = --inputdir=test --load-extension=$(EXTENSION)
|
|||||||
|
|
||||||
# For /arch flags
|
# For /arch flags
|
||||||
# https://learn.microsoft.com/en-us/cpp/build/reference/arch-minimum-cpu-architecture
|
# https://learn.microsoft.com/en-us/cpp/build/reference/arch-minimum-cpu-architecture
|
||||||
OPTFLAGS = /arch:AVX2
|
OPTFLAGS =
|
||||||
|
|
||||||
# For auto-vectorization:
|
# For auto-vectorization:
|
||||||
# - MSVC (needs /O2 /fp:fast) - https://learn.microsoft.com/en-us/cpp/parallel/auto-parallelization-and-auto-vectorization?#auto-vectorizer
|
# - MSVC (needs /O2 /fp:fast) - https://learn.microsoft.com/en-us/cpp/parallel/auto-parallelization-and-auto-vectorization?#auto-vectorizer
|
||||||
|
|||||||
@@ -15,6 +15,8 @@
|
|||||||
#define F16C_SUPPORT
|
#define F16C_SUPPORT
|
||||||
#elif defined(__FLT16_MAX__)
|
#elif defined(__FLT16_MAX__)
|
||||||
#define FLT16_SUPPORT
|
#define FLT16_SUPPORT
|
||||||
|
#else
|
||||||
|
#error "Not supported"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef FLT16_SUPPORT
|
#ifdef FLT16_SUPPORT
|
||||||
|
|||||||
Reference in New Issue
Block a user