mirror of
https://github.com/pgvector/pgvector.git
synced 2026-07-12 23:56:55 +08:00
Updated comments [skip ci]
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
#include "vector.h"
|
#include "vector.h"
|
||||||
|
|
||||||
|
/* F16C has better performance than _Float16 (on x86-64) */
|
||||||
#if defined(__F16C__)
|
#if defined(__F16C__)
|
||||||
#define F16C_SUPPORT
|
#define F16C_SUPPORT
|
||||||
#elif defined(__FLT16_MAX__)
|
#elif defined(__FLT16_MAX__)
|
||||||
@@ -17,7 +18,6 @@
|
|||||||
#define half _Float16
|
#define half _Float16
|
||||||
#define HALF_MAX FLT16_MAX
|
#define HALF_MAX FLT16_MAX
|
||||||
#else
|
#else
|
||||||
/* TODO #pragma message("")? */
|
|
||||||
#define half uint16
|
#define half uint16
|
||||||
#define HALF_MAX 65504
|
#define HALF_MAX 65504
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user