From aed463dbad09daed3f830ffb9f815266c12f9a72 Mon Sep 17 00:00:00 2001 From: Andrew Kane Date: Fri, 12 Apr 2024 11:58:27 -0700 Subject: [PATCH] Fixed headers --- src/halfutils.h | 6 ++++++ src/halfvec.c | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/halfutils.h b/src/halfutils.h index 2ce0155..66ad23d 100644 --- a/src/halfutils.h +++ b/src/halfutils.h @@ -1,9 +1,15 @@ #ifndef HALFUTILS_H #define HALFUTILS_H +#include + #include "common/shortest_dec.h" #include "halfvec.h" +#ifdef F16C_SUPPORT +#include +#endif + extern float (*HalfvecL2SquaredDistance) (int dim, half * ax, half * bx); extern float (*HalfvecInnerProduct) (int dim, half * ax, half * bx); diff --git a/src/halfvec.c b/src/halfvec.c index decc1a2..2c1108b 100644 --- a/src/halfvec.c +++ b/src/halfvec.c @@ -23,10 +23,6 @@ #define TYPALIGN_INT 'i' #endif -#ifdef F16C_SUPPORT -#include -#endif - /* * Get a half from a message buffer */