机器:910A
cann版本:8.0.RC1
地址: https://gitee.com/ascend/samples.git 使用的是 master 分支
报错:
[root@devserver-xinchen AddKernelInvocationNeo]# ll
total 44
-rw-r--r-- 1 root root 3260 Jul 12 14:39 add_custom.cpp
drwxr-xr-x 2 root root 4096 Jul 12 15:18 build
drwxr-xr-x 2 root root 4096 Jul 12 14:39 cmake
-rw-r--r-- 1 root root 1552 Jul 12 14:39 CMakeLists.txt
-rw-r--r-- 1 root root 6295 Jul 12 14:39 data_utils.h
-rw-r--r-- 1 root root 3081 Jul 12 14:39 main.cpp
-rw-r--r-- 1 root root 3800 Jul 12 14:39 README.md
-rwxr-xr-x 1 root root 4158 Jul 12 14:39 run.sh
drwxr-xr-x 2 root root 4096 Jul 12 14:39 scripts
[root@devserver-xinchen AddKernelInvocationNeo]# bash run.sh -r cpu -v Ascend910A
CMake Error: The source directory "/root/my_ops/samples/operator/AddCustomSample/KernelLaunch/AddKernelInvocationNeo/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
机器:910A
cann版本:8.0.RC1
地址: https://gitee.com/ascend/samples.git 使用的是 master 分支
报错:
[root@devserver-xinchen AddKernelInvocationNeo]# ll
total 44
-rw-r--r-- 1 root root 3260 Jul 12 14:39 add_custom.cpp
drwxr-xr-x 2 root root 4096 Jul 12 15:18 build
drwxr-xr-x 2 root root 4096 Jul 12 14:39 cmake
-rw-r--r-- 1 root root 1552 Jul 12 14:39 CMakeLists.txt
-rw-r--r-- 1 root root 6295 Jul 12 14:39 data_utils.h
-rw-r--r-- 1 root root 3081 Jul 12 14:39 main.cpp
-rw-r--r-- 1 root root 3800 Jul 12 14:39 README.md
-rwxr-xr-x 1 root root 4158 Jul 12 14:39 run.sh
drwxr-xr-x 2 root root 4096 Jul 12 14:39 scripts
[root@devserver-xinchen AddKernelInvocationNeo]# bash run.sh -r cpu -v Ascend910A
CMake Error: The source directory "/root/my_ops/samples/operator/AddCustomSample/KernelLaunch/AddKernelInvocationNeo/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.