You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ma...@apache.org on 2022/11/29 08:09:33 UTC
[tvm] branch main updated: [docs][Adreno] Remove unnecessary compilation flag (#13509)
This is an automated email from the ASF dual-hosted git repository.
masahi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git
The following commit(s) were added to refs/heads/main by this push:
new c0ba8a1951 [docs][Adreno] Remove unnecessary compilation flag (#13509)
c0ba8a1951 is described below
commit c0ba8a195115ed5b6f5c53df951972b98276d15a
Author: Egor Churaev <eg...@gmail.com>
AuthorDate: Tue Nov 29 11:09:24 2022 +0300
[docs][Adreno] Remove unnecessary compilation flag (#13509)
Flag `-DUSE_MICRO=OFF` was added to avoid this issue #13482. In #13503 these changes were reverted.
Removed unnecessary compilation flag to avoid user confusing.
---
docs/how_to/deploy/adreno.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/how_to/deploy/adreno.rst b/docs/how_to/deploy/adreno.rst
index af613aa5cb..7f4616fbf7 100644
--- a/docs/how_to/deploy/adreno.rst
+++ b/docs/how_to/deploy/adreno.rst
@@ -94,7 +94,7 @@ folder of TVM:
mkdir build_android
cd build_android
- cmake .. -DUSE_OPENCL=ON -DUSE_MICRO=OFF -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_NATIVE_API_LEVEL=android-28 -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON -DANDROID_STL=c++_static -DUSE_CPP_RPC=ON
+ cmake .. -DUSE_OPENCL=ON -DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_NATIVE_API_LEVEL=android-28 -DCMAKE_FIND_ROOT_PATH_MODE_PACKAGE=ON -DANDROID_STL=c++_static -DUSE_CPP_RPC=ON
make -jN tvm_runtime tvm_rpc
where **N** is the number of cores available on your *CPU*.