mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Use NEON for Android build
This commit is contained in:
parent
c70beed31c
commit
fc7ee0c941
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ fi
|
|||
|
||||
# Android specific flags
|
||||
CMAKE_ARGS+=("-DANDROID_NDK=$ANDROID_NDK")
|
||||
CMAKE_ARGS+=("-DANDROID_ABI=armeabi-v7a with NEON")
|
||||
CMAKE_ARGS+=("-DANDROID_NATIVE_API_LEVEL=21")
|
||||
CMAKE_ARGS+=("-DANDROID_CPP_FEATURES=rtti exceptions")
|
||||
# TODO: As the toolchain file doesn't support NEON-FP16 extension,
|
||||
|
|
|
|||
Loading…
Reference in a new issue