Fixed headers

This commit is contained in:
Andrew Kane
2024-04-12 11:58:27 -07:00
parent f64abe3aae
commit aed463dbad
2 changed files with 6 additions and 4 deletions

View File

@@ -1,9 +1,15 @@
#ifndef HALFUTILS_H
#define HALFUTILS_H
#include <math.h>
#include "common/shortest_dec.h"
#include "halfvec.h"
#ifdef F16C_SUPPORT
#include <immintrin.h>
#endif
extern float (*HalfvecL2SquaredDistance) (int dim, half * ax, half * bx);
extern float (*HalfvecInnerProduct) (int dim, half * ax, half * bx);

View File

@@ -23,10 +23,6 @@
#define TYPALIGN_INT 'i'
#endif
#ifdef F16C_SUPPORT
#include <immintrin.h>
#endif
/*
* Get a half from a message buffer
*/