-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2863 from alibaba/feature/sync_290
MNN:Sync Sync Internal 2.9.0
- Loading branch information
Showing
236 changed files
with
35,796 additions
and
5,495 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
cmake ../../../ \ | ||
-DCMAKE_TOOLCHAIN_FILE=$HARMONY_HOME/native/build/cmake/ohos.toolchain.cmake \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DOHOS_ARCH="arm64-v8a" \ | ||
-DOHOS_STL=c++_static \ | ||
-DMNN_USE_LOGCAT=false \ | ||
-DMNN_BUILD_BENCHMARK=ON \ | ||
-DMNN_USE_SSE=OFF \ | ||
-DMNN_SUPPORT_BF16=OFF \ | ||
-DMNN_BUILD_TEST=ON \ | ||
-DOHOS_PLATFORM_LEVEL=9 \ | ||
-DMNN_BUILD_FOR_ANDROID_COMMAND=true \ | ||
-DNATIVE_LIBRARY_OUTPUT=. -DNATIVE_INCLUDE_OUTPUT=. $1 $2 $3 | ||
|
||
make -j4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
DIR=yanxing | ||
|
||
make -j16 | ||
hdc file send ./libMNN.so /data/local/tmp/$DIR/libMNN.so | ||
hdc file send ./libMNN_Express.so /data/local/tmp/$DIR/libMNN_Express.so | ||
hdc file send ./MNNV2Basic.out /data/local/tmp/$DIR/MNNV2Basic.out | ||
hdc file send ./ModuleBasic.out /data/local/tmp/$DIR/ModuleBasic.out | ||
# hdc shell "cd /data/local/tmp/$DIR && rm -r output" | ||
# hdc shell "cd /data/local/tmp/$DIR && mkdir output" | ||
hdc file send ./unitTest.out /data/local/tmp/$DIR/unitTest.out | ||
hdc file send ./testModel.out /data/local/tmp/$DIR/testModel.out | ||
hdc file send ./testModelWithDescribe.out /data/local/tmp/$DIR/testModelWithDescribe.out | ||
hdc file send ./backendTest.out /data/local/tmp/$DIR/backendTest.out | ||
hdc file send ./timeProfile.out /data/local/tmp/$DIR/timeProfile.out | ||
hdc file send ./run_test.out /data/local/tmp/$DIR/run_test.out |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.