我在x86_64PC上安装了Ascend-cann-toolkit_8.3.RC2_linux-x86_64.run,随后设置环境变量:source /home/xy/Ascend/ascend-toolkit/set_env.sh。之后下载https://gitee.com/ascend/samples,在AddKernelInvocationTilingNeo目录下export ASCEND_INSTALL_PATH=$HOME/Ascend/ascend-toolkit/latest,后执行bash run.sh -r cpu报错:
(xy_torch2.1.0_py_3.10) xy@master:~/桌面/毕业论文/yolov8_proj/pc_x86_64_cann/samples/operator/ascendc/tutorials/AddCustomSample/KernelLaunch/AddKernelInvocationNeo$ bash run.sh -r cpu
Current compile soc version is Ascend310P3
-- 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
CMake Error at cmake/cpu_lib.cmake:4 (find_package):
By not providing "Findtikicpulib.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"tikicpulib", but CMake did not find one.
Could not find a package configuration file provided by "tikicpulib" with
any of the following names:
tikicpulibConfig.cmake
tikicpulib-config.cmake
Add the installation prefix of "tikicpulib" to CMAKE_PREFIX_PATH or set
"tikicpulib_DIR" to a directory containing one of the above files. If
"tikicpulib" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:21 (include)
-- Configuring incomplete, errors occurred!
See also "/home/xy/桌面/毕业论文/yolov8_proj/pc_x86_64_cann/samples/operator/ascendc/tutorials/AddCustomSample/KernelLaunch/AddKernelInvocationNeo/build/CMakeFiles/CMakeOutput.log".
(xy_torch2.1.0_py_3.10) xy@master:~/桌面/毕业论文/yolov8_proj/pc_x86_64_cann/samples/operator/ascendc/tutorials/AddCustomSample/KernelLaunch/AddKernelInvocationNeo$ bash run.sh -r cpu
Current compile soc version is Ascend310P3
-- 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
CMake Error at cmake/cpu_lib.cmake:4 (find_package):
By not providing "Findtikicpulib.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"tikicpulib", but CMake did not find one.
Could not find a package configuration file provided by "tikicpulib" with
any of the following names:
tikicpulibConfig.cmake
tikicpulib-config.cmake
Add the installation prefix of "tikicpulib" to CMAKE_PREFIX_PATH or set
"tikicpulib_DIR" to a directory containing one of the above files. If
"tikicpulib" provides a separate development package or SDK, be sure it has
been installed.
Call Stack (most recent call first):
CMakeLists.txt:21 (include)
-- Configuring incomplete, errors occurred!
See also "/home/xy/桌面/毕业论文/yolov8_proj/pc_x86_64_cann/samples/operator/ascendc/tutorials/AddCustomSample/KernelLaunch/AddKernelInvocationNeo/build/CMakeFiles/CMakeOutput.log".