root@d82477fdbf55:~/samples/operator/ascendc/0_introduction/0_helloworld# cat ~/ascend/log/debug/plog/plog-6635_20250213102842061.log
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.904.704 [hwts_engine.cc:128]6635 ReportExceptProc:Task exception! device_id=0, stream_id=2, task_id=1, type=0(KERNEL_AICORE), failuremode =0, retCode=0x26, [aicore exception]
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.816 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.823 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:The error from device(0), serial number is 9, there is an aicore error, core id is 0, error code = 0x10, dump info: pc start: 0x1000124080011000, current: 0x12408001106c, vec error info: 0x1dd4fdd7, mte error info: 0, ifu error info: 0x2f653b6fef680, ccu error info: 0x9ff38eef00000010, cube error info: 0x3c, biu error info: 0, aic error mask: 0x65000200d000288, para base: 0x1240c0340000, errorStr: Illegal instruction, which is usually caused by unaligned UUB addresses.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.887 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.892 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:The extend info from device(0), serial number is 9, there is aicore error, core id is 0, aicore int: 0, aicore error2: 0, axi clamp ctrl: 0, axi clamp state: 0x1717, biu status0: 0x101e44800000000, biu status1: 0x940002092a0000, clk gate mask: 0x1000, dbg addr: 0, ecc en: 0, mte ccu ecc 1bit error: 0, vector cube ecc 1bit error: 0, run stall: 0x1, dbg data0: 0, dbg data1: 0, dbg data2: 0, dbg data3: 0, dfx data: 0
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.915 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.919 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:The error from device(0), serial number is 9, there is an aicore error, core id is 1, error code = 0x10, dump info: pc start: 0x1000124080011000, current: 0x12408001106c, vec error info: 0x7e95e5e, mte error info: 0, ifu error info: 0x1b673d9fffe00, ccu error info: 0x4dc9604900000010, cube error info: 0x3c, biu error info: 0, aic error mask: 0x65000200d000288, para base: 0x1240c0340000, errorStr: Illegal instruction, which is usually caused by unaligned UUB addresses.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.937 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.941 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:The extend info from device(0), serial number is 9, there is aicore error, core id is 1, aicore int: 0, aicore error2: 0, axi clamp ctrl: 0, axi clamp state: 0x1717, biu status0: 0x101e44800000000, biu status1: 0x940002092a0000, clk gate mask: 0x1000, dbg addr: 0, ecc en: 0, mte ccu ecc 1bit error: 0, vector cube ecc 1bit error: 0, run stall: 0x1, dbg data0: 0, dbg data1: 0, dbg data2: 0, dbg data3: 0, dfx data: 0
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.957 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.961 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:The error from device(0), serial number is 9, there is an aicore error, core id is 2, error code = 0x10, dump info: pc start: 0x1000124080011000, current: 0x12408001106c, vec error info: 0x2f9ffcc, mte error info: 0, ifu error info: 0x38be331e66e00, ccu error info: 0xef7bcef400000010, cube error info: 0x3c, biu error info: 0, aic error mask: 0x65000200d000288, para base: 0x1240c0340000, errorStr: Illegal instruction, which is usually caused by unaligned UUB addresses.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.978 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.982 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:The extend info from device(0), serial number is 9, there is aicore error, core id is 2, aicore int: 0, aicore error2: 0, axi clamp ctrl: 0, axi clamp state: 0x1717, biu status0: 0x101e44800000000, biu status1: 0x940002092a0000, clk gate mask: 0x1000, dbg addr: 0, ecc en: 0, mte ccu ecc 1bit error: 0, vector cube ecc 1bit error: 0, run stall: 0x1, dbg data0: 0, dbg data1: 0, dbg data2: 0, dbg data3: 0, dfx data: 0
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.905.998 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.002 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:The error from device(0), serial number is 9, there is an aicore error, core id is 3, error code = 0x10, dump info: pc start: 0x1000124080011000, current: 0x12408001106c, vec error info: 0xdff9fcf, mte error info: 0, ifu error info: 0x3e3ffb7f03780, ccu error info: 0xa59a779d00000010, cube error info: 0x3c, biu error info: 0, aic error mask: 0x65000200d000288, para base: 0x1240c0340000, errorStr: Illegal instruction, which is usually caused by unaligned UUB addresses.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.017 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.021 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:The extend info from device(0), serial number is 9, there is aicore error, core id is 3, aicore int: 0, aicore error2: 0, axi clamp ctrl: 0, axi clamp state: 0x1717, biu status0: 0x101e44800000000, biu status1: 0x940002092a0000, clk gate mask: 0x1000, dbg addr: 0, ecc en: 0, mte ccu ecc 1bit error: 0, vector cube ecc 1bit error: 0, run stall: 0x1, dbg data0: 0, dbg data1: 0, dbg data2: 0, dbg data3: 0, dfx data: 0
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.037 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.041 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:The error from device(0), serial number is 9, there is an aicore error, core id is 4, error code = 0x10, dump info: pc start: 0x1000124080011000, current: 0x12408001106c, vec error info: 0x1055cfde, mte error info: 0, ifu error info: 0x2b4333fe75e00, ccu error info: 0xd3fe962b00000010, cube error info: 0x3c, biu error info: 0, aic error mask: 0x65000200d000288, para base: 0x1240c0340000, errorStr: Illegal instruction, which is usually caused by unaligned UUB addresses.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.058 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.062 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:The extend info from device(0), serial number is 9, there is aicore error, core id is 4, aicore int: 0, aicore error2: 0, axi clamp ctrl: 0, axi clamp state: 0x1717, biu status0: 0x101e44800000000, biu status1: 0x940002092a0000, clk gate mask: 0x1000, dbg addr: 0, ecc en: 0, mte ccu ecc 1bit error: 0, vector cube ecc 1bit error: 0, run stall: 0x1, dbg data0: 0, dbg data1: 0, dbg data2: 0, dbg data3: 0, dfx data: 0
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.078 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.082 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:The error from device(0), serial number is 9, there is an aicore error, core id is 5, error code = 0x10, dump info: pc start: 0x1000124080011000, current: 0x12408001106c, vec error info: 0x1ffcf76c, mte error info: 0, ifu error info: 0x1fb1efebdf680, ccu error info: 0xb5edff5000000010, cube error info: 0x3c, biu error info: 0, aic error mask: 0x65000200d000288, para base: 0x1240c0340000, errorStr: Illegal instruction, which is usually caused by unaligned UUB addresses.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.098 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.101 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:The extend info from device(0), serial number is 9, there is aicore error, core id is 5, aicore int: 0, aicore error2: 0, axi clamp ctrl: 0, axi clamp state: 0x1717, biu status0: 0x101e44800000000, biu status1: 0x940002092a0000, clk gate mask: 0x1000, dbg addr: 0, ecc en: 0, mte ccu ecc 1bit error: 0, vector cube ecc 1bit error: 0, run stall: 0x1, dbg data0: 0, dbg data1: 0, dbg data2: 0, dbg data3: 0, dfx data: 0
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.117 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.121 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:The error from device(0), serial number is 9, there is an aicore error, core id is 6, error code = 0x10, dump info: pc start: 0x1000124080011000, current: 0x12408001106c, vec error info: 0x1dcbfe17, mte error info: 0, ifu error info: 0x32b78fed36780, ccu error info: 0xcbdeedbf00000010, cube error info: 0x3c, biu error info: 0, aic error mask: 0x65000200d000288, para base: 0x1240c0340000, errorStr: Illegal instruction, which is usually caused by unaligned UUB addresses.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.136 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.140 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:The extend info from device(0), serial number is 9, there is aicore error, core id is 6, aicore int: 0, aicore error2: 0, axi clamp ctrl: 0, axi clamp state: 0x1717, biu status0: 0x101e44800000000, biu status1: 0x940002092a0000, clk gate mask: 0x1000, dbg addr: 0, ecc en: 0, mte ccu ecc 1bit error: 0, vector cube ecc 1bit error: 0, run stall: 0x1, dbg data0: 0, dbg data1: 0, dbg data2: 0, dbg data3: 0, dfx data: 0
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.156 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.159 [device_error_proc.cc:532]6635 PrintCoreErrorInfo:The error from device(0), serial number is 9, there is an aicore error, core id is 7, error code = 0x10, dump info: pc start: 0x1000124080011000, current: 0x12408001106c, vec error info: 0x1cefcc5d, mte error info: 0, ifu error info: 0x3f2f73dcf7680, ccu error info: 0xf371db4f00000010, cube error info: 0x3c, biu error info: 0, aic error mask: 0x65000200d000288, para base: 0x1240c0340000, errorStr: Illegal instruction, which is usually caused by unaligned UUB addresses.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.175 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.178 [device_error_proc.cc:563]6635 PrintCoreErrorInfo:The extend info from device(0), serial number is 9, there is aicore error, core id is 7, aicore int: 0, aicore error2: 0, axi clamp ctrl: 0, axi clamp state: 0x1717, biu status0: 0x101e44800000000, biu status1: 0x940002092a0000, clk gate mask: 0x1000, dbg addr: 0, ecc en: 0, mte ccu ecc 1bit error: 0, vector cube ecc 1bit error: 0, run stall: 0x1, dbg data0: 0, dbg data1: 0, dbg data2: 0, dbg data3: 0, dfx data: 0
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.677 [davinic_kernel_task.cc:1221]6635 PreCheckTaskErr:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.684 [davinic_kernel_task.cc:1221]6635 PreCheckTaskErr:Kernel task happen error, retCode=0x26, [aicore exception].
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.773 [davinic_kernel_task.cc:1145]6635 PrintErrorInfoForDavinciTask:Aicore kernel execute failed, device_id=0, stream_id=2, report_stream_id=2, task_id=1, flip_num=0, fault kernel_name=hello_world_0, fault kernel info ext=none, program id=0, hash=4180545653693260538.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.810 [davinic_kernel_task.cc:1084]6635 GetArgsInfo:[AIC_INFO] args(0 to 1) after execute:0x124100000000,
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.816 [davinic_kernel_task.cc:1087]6635 GetArgsInfo:tilingKey = 0, print 1 Times totalLen=(1*8)Bytes, argsSize=8, blockDim=8
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.824 [davinic_kernel_task.cc:1149]6635 PrintErrorInfoForDavinciTask:[AIC_INFO] after execute:args print end
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.844 [stream.cc:1059]6635 GetError:Stream Synchronize failed, stream_id=2, retCode=0x26, [aicore exception].
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.852 [stream.cc:1062]6635 GetError:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.855 [stream.cc:1062]6635 GetError:Aicore kernel execute failed, device_id=0, stream_id=2, report_stream_id=2, task_id=1, flip_num=0, fault kernel_name=hello_world_0, fault kernel info ext=none, program id=0, hash=4180545653693260538.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.877 [stream.cc:1062]6635 GetError:report error module_type=5, module_name=EZ9999
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.881 [stream.cc:1062]6635 GetError:[AIC_INFO] after execute:args print end
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.893 [api_error.cc:700]6635 StreamSynchronize:Stream synchronize failed, stream_id=2, timeout=60000.
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.906 [api_c_stream.cc:153]6635 rtStreamSynchronizeWithTimeout:ErrCode=507015, desc=[aicore exception], InnerCode=0x7150026
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.911 [error_message_manage.cc:53]6635 FuncErrorReason:report error module_type=3, module_name=EE8888
[ERROR] RUNTIME(6635,main):2025-02-13-10:28:41.906.916 [error_message_manage.cc:53]6635 FuncErrorReason:rtStreamSynchronizeWithTimeout execute failed, reason=[aicore exception]
root@d82477fdbf55:~/samples/operator/ascendc/0_introduction/0_helloworld#
1、物理机器配置
2、启动容器
3、测试hellworld代码
进入容器
测试hellworld代码
切换到对应分支
测试编译
root@d82477fdbf55:/# cd samples/operator/ascendc/0_introduction/0_helloworld root@d82477fdbf55:/samples/operator/ascendc/0_introduction/0_helloworld# bash run.sh -v ascend910b1 -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.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 -- Configuring done -- Generating done -- Build files have been written to: /samples/operator/ascendc/0_introduction/0_helloworld/build [ 2%] Creating directories for 'kernels_preprocess' [ 5%] No download step for 'kernels_preprocess' [ 8%] No update step for 'kernels_preprocess' [ 11%] No patch step for 'kernels_preprocess' [ 13%] Performing configure step for 'kernels_preprocess' -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.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 -- Configuring done -- Generating done -- Build files have been written to: /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_preprocess-prefix/src/kernels_preprocess-build [ 16%] Performing build step for 'kernels_preprocess' [100%] Building CXX object CMakeFiles/preprocess_obj.dir/samples/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [100%] Building CXX object CMakeFiles/aiv_obj.dir/samples/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [100%] Building CXX object CMakeFiles/aic_obj.dir/samples/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [100%] Built target preprocess_obj [100%] Built target aic_obj [100%] Built target aiv_obj [100%] Built target _host_cpp [ 19%] No install step for 'kernels_preprocess' [ 22%] Completed 'kernels_preprocess' [ 22%] Built target kernels_preprocess [ 30%] Creating directories for 'kernels_aic_device' [ 30%] Creating directories for 'kernels_host' [ 30%] Creating directories for 'kernels_aiv_device' [ 38%] No download step for 'kernels_aiv_device' [ 38%] No download step for 'kernels_aic_device' [ 38%] No download step for 'kernels_host' [ 47%] No update step for 'kernels_aiv_device' [ 47%] No update step for 'kernels_host' [ 47%] No update step for 'kernels_aic_device' [ 55%] No patch step for 'kernels_host' [ 55%] No patch step for 'kernels_aiv_device' [ 55%] No patch step for 'kernels_aic_device' [ 63%] Performing configure step for 'kernels_host' [ 63%] Performing configure step for 'kernels_aic_device' [ 63%] Performing configure step for 'kernels_aiv_device' -- The C compiler identification is GNU 11.4.0 -- The C compiler identification is GNU 11.4.0 -- The C compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- The CXX compiler identification is GNU 11.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compiler ABI info - done -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Check for working C compiler: /usr/bin/cc - skipped -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features -- Detecting C compile features -- Detecting C compile features - done -- Detecting C compile features - done -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compiler ABI info - done -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting CXX compile features - done -- Detecting CXX compile features - done -- Configuring done -- Configuring done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_MODE -- Build files have been written to: /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_aic_device-prefix/src/kernels_aic_device-build -- Generating done CMake Warning: Manually-specified variables were not used by the project: ASCEND_PYTHON_EXECUTABLE -- Generating done -- Build files have been written to: /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_host-prefix/src/kernels_host-build -- Build files have been written to: /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device-prefix/src/kernels_aiv_device-build [ 66%] Performing build step for 'kernels_aic_device' [ 69%] Performing build step for 'kernels_host' [ 72%] Performing build step for 'kernels_aiv_device' [ 75%] No install step for 'kernels_aic_device' [100%] Building CXX object CMakeFiles/device_aiv_obj.dir/samples/operator/ascendc/0_introduction/0_helloworld/build/auto_gen/kernels/auto_gen_hello_world.cpp.o [100%] Building CXX object CMakeFiles/host_bisheng_obj.dir/samples/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [ 77%] Completed 'kernels_aic_device' [ 77%] Built target kernels_aic_device [100%] Built target host_bisheng_obj [ 80%] Performing install step for 'kernels_host' Consolidate compiler generated dependencies of target host_bisheng_obj [100%] Building CXX object CMakeFiles/host_bisheng_obj.dir/samples/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o [100%] Built target host_bisheng_obj Install the project... [100%] Built target device_aiv_obj -- Install configuration: "Debug" -- Installing: /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_host_dir/./objects-Debug/host_bisheng_obj/samples/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o /usr/local/Ascend/ascend-toolkit/latest/tools/ccec_compiler/bin/ld.lld -m aicorelinux -r -Ttext=0 /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device-prefix/src/kernels_aiv_device-build/CMakeFiles/device_aiv_obj.dir/samples/operator/ascendc/0_introduction/0_helloworld/build/auto_gen/kernels/auto_gen_hello_world.cpp.o -static -o /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device_dir/device_aiv.o [ 83%] Completed 'kernels_host' [100%] Built target merge_aiv_device_obj [ 86%] No install step for 'kernels_aiv_device' [ 86%] Built target kernels_host [ 88%] Completed 'kernels_aiv_device' [ 88%] Built target kernels_aiv_device /usr/local/Ascend/ascend-toolkit/latest/tools/ccec_compiler/bin/ld.lld -m aicorelinux -n -Ttext=0 /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_aiv_device_dir/device_aiv.o -static -o /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_merge_obj_dir/device_aiv.o ld.lld: warning: -n (--nmagic) and -N (--omagic) will be ignored [ 88%] Built target kernels_merge_obj [ 91%] Building CXX object CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o [ 91%] Built target kernels_host_stub_obj [ 94%] Linking CXX static library lib/libkernels.a /usr/local/Ascend/ascend-toolkit/latest/bin/ascendc_pack_kernel /samples/operator/ascendc/0_introduction/0_helloworld/build/CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_merge_obj_dir/device_aiv.o 1 /samples/operator/ascendc/0_introduction/0_helloworld/build/CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o recompile: /usr/bin/ar qc lib/libkernels.a CMakeFiles/kernels_host_stub_obj.dir/auto_gen/kernels/host_stub.cpp.o /samples/operator/ascendc/0_introduction/0_helloworld/build/kernels_host_dir/objects-Debug/host_bisheng_obj/samples/operator/ascendc/0_introduction/0_helloworld/hello_world.cpp.o elf_tool.c.o ascendc_runtime.cpp.o recompile: /usr/bin/ranlib lib/libkernels.a [ 94%] Built target kernels [ 97%] Building CXX object CMakeFiles/main.dir/main.cpp.o [100%] Linking CXX executable main [100%] Built target main -- Install configuration: "Debug" -- Installing: /samples/operator/ascendc/0_introduction/0_helloworld/out/lib/libkernels.a -- Up-to-date: /samples/operator/ascendc/0_introduction/0_helloworld/out/include -- Up-to-date: /samples/operator/ascendc/0_introduction/0_helloworld/out/include/kernels -- Installing: /samples/operator/ascendc/0_introduction/0_helloworld/out/include/kernels/aclrtlaunch_hello_world.h -- Installing: /samples/operator/ascendc/0_introduction/0_helloworld/out/include/kernels/aclrtlaunch_triple_chevrons_func.h Error, Expected 8 occurrences of Hello World, but found 0 occurrences. root@d82477fdbf55:/samples/operator/ascendc/0_introduction/0_helloworld#ascend错误日志