已关闭
[Bug-Report|缺陷反馈]: 多个样例在Ascend 950PR/Ascend 950DT上编译时有非预期告警 #90
UFOunder创建于 2月10日关闭于 2月10日
UFOunder
2月10日 评论:
2月10日 评论:
已确认该问题根因如下:
样例代码实现中,未在global函数上设置kernel type标识,未使用“vector”标识该函数仅在Vector核执行,不能使用“aicore”,使用“aicore”导致产生告警。
上述问题正在修改验证过程中,近期将合入。


2月10日 关闭了 issue
2月11日 添加了label:Accepted
3月20日 添加了label:resolved
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!”
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
告警信息:WARNING: kernel type of __ global __ func: xxx(核函数) is not marked. auto type derivate may be failed.
Special notes for this issue/备注 (Optional / 选填)