We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39e8538 commit fb1cc93Copy full SHA for fb1cc93
runtime/core/portable_type/half.h
@@ -15,7 +15,7 @@
15
#include <ostream>
16
17
#if defined(__GNUC__) || defined(__clang__)
18
-#if defined(__aarch64__)
+#if defined(__aarch64__) && defined(__ARM_FEATURE_FP16_SCALAR_ARITHMETIC)
19
#ifndef __ARM_V8_ONLY__
20
#define NATIVE_FP16 1
21
#endif // __ARM_V8_ONLY__
0 commit comments