aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2017-07-06 18:29:58 -0700
committerMiao Wang <miaowang@google.com>2017-07-06 18:32:29 -0700
commit8064dfa03c06a5228949f38d86654dda8a5ed56d (patch)
tree6638338f675440edf521f94f44b0aa3060eee4c7
parenta9fd919a0080e2c3c7ed1ce451c85a4d86f2f8c1 (diff)
downloadgemmlowp-8064dfa03c06a5228949f38d86654dda8a5ed56d.tar.gz
Always allow GEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK for Android
- Certain Android devices may not have SIMD support. - Fix the broken build for aosp_x86-eng and aosp_mips-eng tagets. Test: mm Change-Id: I221e00f031e88f20cdc9df4292028385e0617c06
-rw-r--r--internal/kernel_default.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/kernel_default.h b/internal/kernel_default.h
index bba0093..7ed55b8 100644
--- a/internal/kernel_default.h
+++ b/internal/kernel_default.h
@@ -18,6 +18,10 @@
#ifndef GEMMLOWP_INTERNAL_KERNEL_DEFAULT_H_
#define GEMMLOWP_INTERNAL_KERNEL_DEFAULT_H_
+#ifndef GEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK
+#define GEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK
+#endif
+
#include "../public/bit_depth.h"
#include "common.h"
#include "kernel_reference.h"