aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiao Wang <miaowang@google.com>2017-07-07 13:27:11 -0700
committerMiao Wang <miaowang@google.com>2017-07-07 13:27:11 -0700
commit2d71596ba7a5e2e9430683818f8800d8bea059e2 (patch)
treed98e8c64547d3f4cec87fe261fe47d2a7a27f316
parent8064dfa03c06a5228949f38d86654dda8a5ed56d (diff)
downloadgemmlowp-2d71596ba7a5e2e9430683818f8800d8bea059e2.tar.gz
Enable optimized meta path for libbnnmlowpandroid-o-preview-4android-o-iot-preview-5o-iot-preview-5
- Detailed description of the meta path can be found here: https://github.com/google/gemmlowp/blob/master/meta/README - The optimized path give significant perf improvement. Test: mm Test: CTS BLAS tests pass Test: On sailfish, performance measured by RsBlasBenchmark increased by 20+% Change-Id: I3ea6af3d25ddc108cfbcf16874763b060ac0cae1
-rw-r--r--eight_bit_int_gemm/Android.bp5
1 files changed, 4 insertions, 1 deletions
diff --git a/eight_bit_int_gemm/Android.bp b/eight_bit_int_gemm/Android.bp
index fd38f44..ca81165 100644
--- a/eight_bit_int_gemm/Android.bp
+++ b/eight_bit_int_gemm/Android.bp
@@ -14,7 +14,10 @@
cc_defaults {
name: "libbnnmlowp-defaults",
- cflags: ["-Wno-unused-parameter"],
+ cflags: [
+ "-Wno-unused-parameter",
+ "-DGEMMLOWP_USE_META_FASTPATH",
+ ],
srcs: ["eight_bit_int_gemm.cc"],
export_include_dirs: ["."],