AclNNInvocation下的run.sh运行报错
收藏回复举报
AclNNInvocation下的run.sh运行报错
t('forum.solved') 已解决
发表于2024-03-26 13:50:54
0 查看

运行AclNNInvocation下的run.sh出来以下报错,这个报错一般是哪个文件没改好 环境:Ascend910 CANN版本:8.0

AclNNInvocation]# bash run.sh 
INFO: generate input data success!
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- env INC_PATH: /usr/local/Ascend/ascend-toolkit/latest
-- env LIB_PATH: /usr/local/Ascend/ascend-toolkit/latest/aarch64-linux/lib64
-- Configuring done (1.0s)
-- Generating done (0.0s)
-- Build files have been written to: /tmp/code/SinhCustomSample/AclNNInvocation/build
INFO: cmake success!
[ 20%] Building CXX object CMakeFiles/execute_add_op.dir/operator_desc.cpp.o
[ 40%] Building CXX object CMakeFiles/execute_add_op.dir/op_runner.cpp.o
[ 60%] Building CXX object CMakeFiles/execute_add_op.dir/main.cpp.o
[ 80%] Building CXX object CMakeFiles/execute_add_op.dir/common.cpp.o
[100%] Linking CXX executable /tmp/code/SinhCustomSample/AclNNInvocation/output/execute_add_op
[100%] Built target execute_add_op
INFO: make success!
INFO: execute op!
[INFO]  Set device[0] success
[INFO]  Get RunMode[1] success
[INFO]  Init resource success
[INFO]  Set input success
[INFO]  Copy input[0] success
[INFO]  Create stream success
[ERROR]  Get Operator Workspace failed. error code is 361001
[ERROR]  Run op failed
[INFO]  Reset Device success
[INFO]  Destory resource success
ERROR: acl executable run failed! please check your project!

我要发帖子