Closed
[Bug-Report|缺陷反馈]: QuantBatchMatMulV3适配APILEVEL后kernel入口兼容性修复 #3903
Hu1L1Add on  Jul 7Closed at  Jul 10
Hu1L1
Hu1L1Collaborators
Jul 7 Create

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

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

QuantBatchMatMulV3 的 tilingKey 新增 APILEVEL 字段后,kernel 侧应通过 APILEVEL 区分 BASIC / BLAZE / HIGH API 实现。

当前部分 kernel 入口和 tilingkey 枚举仍依赖 IS_BLAZE 做编译期隔离,会导致不同 devkit / 架构 / 固定点编译场景下出现兼容性问题:host 侧可能下发某个 APILEVEL 对应的 tilingKey,但 cpp 中对应 kernel 分支未被编译;或 tilingkey.h 中声明的组合与 cpp 实际入口不一致。

需要移除 MX 和纯 cube ND 相关路径中对 IS_BLAZE 的实现隔离,改为同时保留 BASIC 和 BLAZE 实现,由 tilingKey 中的 APILEVEL 统一选择。

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

Ascend950

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

基于9.1.0版本出ops算子包,在9.0.0toolkit包上执行二进制

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

执行pass

无

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

likedislike
Hu1L1Hu1L1Collaborators
Jul 7 Added label: bug-report
Hu1L1Hu1L1Collaborators
Jul 7 Associated pull request
Hu1L1
Hu1L1Collaborators
Jul 7 Comments:

/assign

likedislike
CANN-robotCANN-robotCollaborators
Jul 7 Assign Hu1L1 as responsible person
CANN-robotCANN-robotCollaborators
Jul 10 Close issue
CANN-robotCANN-robotCollaborators
Jul 10 Added label: resolved