Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
现有代码使用“-x asc”、“.asc” “--asc-aicore-lang”编译的 AscendC工程如果使用了修改后已经删除的头文件路径会编译报错,需要通过相对路径解决原先兼容性问题
#include "kernel_macro.h" // ${ASCEND_HOME_PATH}/cann/asc/impl/basic_api/kernel_macros.h 修改成: #include "../../impl/basic_api/kernel_macro.h"
编译器
/assign
代码已合入,关闭issue
Thanks for sending an requirement! Please fill in the following template to help quickly solve your problem.
Backgroud(背景信息)
现有代码使用“-x asc”、“.asc” “--asc-aicore-lang”编译的 AscendC工程如果使用了修改后已经删除的头文件路径会编译报错,需要通过相对路径解决原先兼容性问题
Origin(信息来源)
编译器
Benefit / Necessity (价值/作用)
Design(设计方案)