Closed
[Bug-Report|缺陷反馈]: 多个样例在Ascend 950PR/Ascend 950DT上编译时有非预期告警 #90
UFOunderAdd on  Feb 10Closed at  Feb 10
UFOunderCollaborators
Feb 10 Create

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
UFOunderCollaborators
Feb 10 Comments:

/assign me

likedislike
UFOunderCollaborators
Feb 10 Comments:

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

likedislike
UFOunderCollaborators
Feb 10 Comments:

/assign me

likedislike
UUFOunderCollaborators
Feb 10 Associated pull request
UUFOunderCollaborators
Feb 10 Modify description of issue
CANN-robotCANN-robotCollaborators
Feb 10 Close issue
UUFOunderCollaborators
Feb 11 changed custom state from 待办的 to 已完成
CANN-robotCANN-robotCollaborators
Feb 11 Added label: Accepted
CANN-robotCANN-robotCollaborators
Mar 20 Added label: resolved