diff options
author | 2017-05-08 14:36:28 -0700 | |
---|---|---|
committer | 2017-05-10 15:31:16 -0700 | |
commit | 3f1f88c55b22aff9bb900edddbe6cabd4f62a862 (patch) | |
tree | db61d7b8d4985ef80732b6511eee95fee77cd681 /tensorflow/contrib/android | |
parent | c7f79bb75b5b83c3011e164ccd617a6ada910ea4 (diff) |
Enable USE_GEMM_FOR_CONV and -O3 on android.
PiperOrigin-RevId: 155428927
Diffstat (limited to 'tensorflow/contrib/android')
-rw-r--r-- | tensorflow/contrib/android/cmake/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/android/cmake/CMakeLists.txt b/tensorflow/contrib/android/cmake/CMakeLists.txt index 9f9d740d6c..2219daab11 100644 --- a/tensorflow/contrib/android/cmake/CMakeLists.txt +++ b/tensorflow/contrib/android/cmake/CMakeLists.txt @@ -32,7 +32,7 @@ set_target_properties(lib_tf PROPERTIES IMPORTED_LOCATION # Change to compile flags should be replicated into bazel build file set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DIS_SLIM_BUILD \ -std=c++11 -fno-rtti -fno-exceptions \ - -O2 -Wno-narrowing \ + -O3 -DUSE_GEMM_FOR_CONV -Wno-narrowing \ -mfpu=neon -mfloat-abi=softfp -fPIE \ -DGOOGLE_PROTOBUF_NO_RTTI \ -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER") |