mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-03 11:10:56 +08:00
Fixed
This commit is contained in:
@@ -8,7 +8,10 @@
|
||||
#include "vector.h"
|
||||
|
||||
/* F16C has better performance than _Float16 (on x86-64) */
|
||||
#if defined(__F16C__) || defined(__AVX2__)
|
||||
#if defined(__F16C__)
|
||||
#define F16C_SUPPORT
|
||||
/* TODO Improve detection */
|
||||
#elif defined(_MSC_VER) && defined(__AVX2__)
|
||||
#define F16C_SUPPORT
|
||||
#elif defined(__FLT16_MAX__)
|
||||
#define FLT16_SUPPORT
|
||||
|
||||
Reference in New Issue
Block a user