mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Test always
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -88,7 +88,7 @@ jobs:
|
||||
- run: |
|
||||
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat" && ^
|
||||
cd %TEMP% && ^
|
||||
nmake /NOLOGO /F Makefile.win OPTFLAGS="/arch:AVX2" && ^
|
||||
nmake /NOLOGO /F Makefile.win && ^
|
||||
nmake /NOLOGO /F Makefile.win install && ^
|
||||
nmake /NOLOGO /F Makefile.win installcheck && ^
|
||||
nmake /NOLOGO /F Makefile.win clean && ^
|
||||
|
||||
@@ -8,15 +8,10 @@
|
||||
#include "vector.h"
|
||||
|
||||
/* F16C has better performance than _Float16 (on x86-64) */
|
||||
#if defined(__F16C__)
|
||||
#define F16C_SUPPORT
|
||||
/* TODO Improve detection */
|
||||
#elif defined(_MSC_VER) && defined(__AVX2__)
|
||||
#if defined(__F16C__) || defined(_MSC_VER)
|
||||
#define F16C_SUPPORT
|
||||
#elif defined(__FLT16_MAX__)
|
||||
#define FLT16_SUPPORT
|
||||
#else
|
||||
#error "Not supported"
|
||||
#endif
|
||||
|
||||
#ifdef FLT16_SUPPORT
|
||||
|
||||
Reference in New Issue
Block a user