算子编译过程中遇到问题
收藏回复举报
算子编译过程中遇到问题
t('forum.solved') 已解决
发表于2024-11-01 12:28:32
0 查看

在算子编译的过程中遇到

```

/AscendC/NotEqual/op_host/not_equal_tiling.h:2:10: fatal error: register/tilingdata_base.h: No such file or directory

    2 | #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)

-- Configuring incomplete, errors occurred!

See also "/AscendC/NotEqual/build_out/CMakeFiles/CMakeOutput.log".

gmake: Makefile: No such file or directory

gmake: *** No rule to make target 'Makefile'.  Stop.

```

本地机为200I DK A2的开发者套件 cann版本为8.0.RC3.alpha003,同时也已经在算子的CmakePresents.json文件内添加了

```

"ASCEND_CANN_PACKAGE_PATH": {

"type": "PATH",

"value": "/usr/local/Ascend/ascend-toolkit/latest"

},

```
本来之前算子编译的过程是正常的,但是我把旧的cann删除之后安装了新的cann就出现了问题

我要发帖子