We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9b3cc78 + dc32a8a commit e41cb1aCopy full SHA for e41cb1a
1 file changed
openblas_config_template.h
@@ -43,7 +43,12 @@ typedef uint16_t bfloat16;
43
#if defined(OPENBLAS_ARCH_POWER) || defined(OPENBLAS_ARCH_LOONGARCH64)
44
typedef bfloat16 hfloat16;
45
#else
46
+#define __STDC_WANT_IEC_60559_TYPES_EXT__
47
+#include <float.h>
48
+#ifdef FLT16_MAX
49
typedef _Float16 hfloat16;
50
+#else
51
+typedef uint16_t hfloat16;
52
#endif
53
54
#include <stdint.h>
0 commit comments