Improved halfvec performance with F16C support

This commit is contained in:
Andrew Kane
2024-04-07 18:53:50 -07:00
parent 98d4b1a364
commit d8719d59a3
2 changed files with 13 additions and 3 deletions

View File

@@ -7,7 +7,9 @@
#include "vector.h"
#ifdef __FLT16_MAX__
#if defined(__F16C__)
#define F16C_SUPPORT
#elif defined(__FLT16_MAX__)
#define FLT16_SUPPORT
#endif