forked from mindspore-Ecosystem/mindspore
fix_nnie
This commit is contained in:
parent
508f015652
commit
41d19f60da
|
@ -54,11 +54,16 @@ function Run_Hi3516() {
|
|||
tar -zxf mindspore-lite-${version}-linux-aarch32.tar.gz || exit 1
|
||||
cd ${arm32_path}/mindspore-lite-${version}-linux-aarch32 || return 1
|
||||
|
||||
chmod +x ./providers/Hi3516D/benchmark
|
||||
if [ -f "./providers/Hi3516D/benchmark" ]; then
|
||||
chmod +x ./providers/Hi3516D/benchmark
|
||||
cp -a ./providers/Hi3516D/benchmark ${benchmark_test_path}/benchmark
|
||||
elif [ -f "./tools/benchmark/benchmark" ]; then
|
||||
chmod +x ./tools/benchmark/benchmark
|
||||
cp -a ./tools/benchmark/benchmark ${benchmark_test_path}/benchmark
|
||||
fi
|
||||
# copy related files to benchmark_test
|
||||
cp -a ./providers/Hi3516D/libmslite_nnie.so ${benchmark_test_path}/libmslite_nnie.so || exit 1
|
||||
cp -a ./providers/Hi3516D/libmslite_proposal.so ${benchmark_test_path}/libmslite_proposal.so || exit 1
|
||||
cp -a ./providers/Hi3516D/benchmark ${benchmark_test_path}/benchmark || exit 1
|
||||
cp -a ./runtime/lib/libmindspore-lite.so ${benchmark_test_path}/libmindspore-lite.so || exit 1
|
||||
|
||||
# cp files to nfs shared folder
|
||||
|
|
Loading…
Reference in New Issue