已关闭
[Requirement|需求建议]:配合融合编译调整修改包含头文件路径 #945
yhkz9211创建于  6月12日关闭于  6月16日
yhkz9211成员
6月12日 创建

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工程如果使用了修改后已经删除的头文件路径会编译报错,需要通过相对路径解决原先兼容性问题

#include "kernel_macro.h" // ${ASCEND_HOME_PATH}/cann/asc/impl/basic_api/kernel_macros.h
修改成:
#include "../../impl/basic_api/kernel_macro.h"

Origin(信息来源)

编译器

Benefit / Necessity (价值/作用)

Design(设计方案)

likedislike
yhkz9211成员
6月12日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
6月12日 将 yhkz9211 设为负责人
Yyhkz9211成员
6月12日 修改标题为 “[Requirement|需求建议]:配合融合编译调整修改包含头文件路径”,原标题为“[Requirement|需求建议]: ”
yhkz9211成员
6月16日 评论:

代码已合入,关闭issue

likedislike
Yyhkz9211成员
6月16日 issue状态由 待办的 改变为 已确认
Yyhkz9211成员
6月16日 issue状态由 已确认 改变为 已解决
Yyhkz9211成员
6月16日 关闭了 issue
CANN-robotCANN-robot成员
6月16日 添加了label:resolved
Yyhkz9211成员
6月30日 关联了pull request:modify path