已关闭
[Bug-Report|缺陷反馈]: 多个样例在Ascend 950PR/Ascend 950DT上编译时有非预期告警 #90
UFOunder创建于  2月10日关闭于  2月10日
UFOunder成员
2月10日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

以下样例在Ascend 950PR/Ascend 950DT上编译时有同一类非预期告警:WARNING: kernel type of __ global __ func: xxx(核函数) is not marked. auto type derivate may be failed.
examples/03_libraries/12_select_and_compare/compares_flexible_scalar_argument_position
examples/03_libraries/10_scatter/scatter_950
examples/02_features/11_synchronous_control/mutex
examples/02_features/15_utility_function/get_ub_size_in_bytes
examples/03_libraries/00_math/isfinite

以下样例的文件名称存在错误,需要修改:
examples/03_libraries/01_matrix/matmul_bias_bf16_tscm/matmul_bias_bf16_tscmv.asc

Environment / 环境信息 (Mandatory / 必填)

测试环境:Ascend 950PR/Ascend 950DT
测试版本:当天最新cann包

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

重现步骤:编译样例

Describe the expected behavior / 预期结果 (Mandatory / 必填)

预期结果:编译成功,无报错和告警,精度对比成功,显示“test pass!”

告警信息:WARNING: kernel type of __ global __ func: xxx(核函数) is not marked. auto type derivate may be failed.

Special notes for this issue/备注 (Optional / 选填)

likedislike
UFOunder成员
2月10日 评论:

/assign me

likedislike
UFOunder成员
2月10日 评论:

已确认该问题根因如下:
样例代码实现中,未在global函数上设置kernel type标识,未使用“vector”标识该函数仅在Vector核执行,不能使用“aicore”,使用“aicore”导致产生告警。
上述问题正在修改验证过程中,近期将合入。

likedislike
UFOunder成员
2月10日 评论:

/assign me

likedislike
UUFOunder成员
2月10日 关联了pull request:修复样例在Ascend 950PR/Ascend 950DT上编译时的非预期告警
UUFOunder成员
2月10日 修改了issue 的描述
CANN-robotCANN-robot成员
2月10日 关闭了 issue
UUFOunder成员
2月11日 issue状态由 待办的 改变为 已完成
CANN-robotCANN-robot成员
2月11日 添加了label:Accepted
CANN-robotCANN-robot成员
3月20日 添加了label:resolved