cd AddcdivCustom/
./build.sh
>>>build ops lib error: In file included from /root/Documents/AddcdivCustomSample/AddcdivCustom/op_host/addcdiv_custom.cpp:2:
/root/Documents/AddcdivCustomSample/AddcdivCustom/op_host/addcdiv_custom_tiling.h:6:10: fatal error: register/tilingdata_base.h: No such file or directory
6 | #include "register/tilingdata_base.h"
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
CMake Error at cmake/func.cmake:27 (message):
opbuild run failed!
Call Stack (most recent call first):
op_host/CMakeLists.txt:4 (opbuild)
cd AddCustom
./build.sh
>>>- Opbuild generating sources - done
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_CROSS_PLATFORM_COMPILER
问题描述
cd AddcdivCustom/ ./build.sh >>>build ops lib error: In file included from /root/Documents/AddcdivCustomSample/AddcdivCustom/op_host/addcdiv_custom.cpp:2: /root/Documents/AddcdivCustomSample/AddcdivCustom/op_host/addcdiv_custom_tiling.h:6:10: fatal error: register/tilingdata_base.h: No such file or directory 6 | #include "register/tilingdata_base.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. CMake Error at cmake/func.cmake:27 (message): opbuild run failed! Call Stack (most recent call first): op_host/CMakeLists.txt:4 (opbuild)但另一个示例AddCustom的却可以执行,对比发现二者
op_host中的CMakeList文件无差别,这是为什么呢?cd AddCustom ./build.sh >>>- Opbuild generating sources - done -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_CROSS_PLATFORM_COMPILER