已开启
[Bug-Report|缺陷反馈]: MatmulAbftVerify Example 接口调用与当前定义不一致 #54
starfican创建于  9月30日
starfican
9月30日 创建

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

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

MatmulAbftVerify 的 BF16 Example 仍使用旧版接口参数,包括已经不再对外提供的输入、输出及属性参数,与当前aclnnMatmulAbftVerifyGetWorkspaceSize 接口定义不一致,导致 Example 无法正确编译或调用。

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

  • 分支:9.2.0
  • 算子:MatmulAbftVerify
  • Example:test_aclnn_matmul_abft_verify_bf16.cpp
  • 数据类型:BF16

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

  1. 编译 MatmulAbftVerify 算子及其 BF16 Example。
  2. 检查 Example 中对 aclnnMatmulAbftVerifyGetWorkspaceSize 的调用。
  3. 可以发现传入参数与当前生成的 ACLNN 接口声明不一致。
  4. 编译或运行该 Example 时出现接口调用错误。

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

Example 应使用当前正式接口,仅传入接口要求的输入、属性和输出参数,并能够正常完成编译及运行。

接口实参与当前 aclnnMatmulAbftVerifyGetWorkspaceSize 函数声明不匹配。

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

该问题仅涉及 Example 的接口调用及相关资源管理逻辑,不涉及算子实现和计算逻辑修改。

likedislike
Sstarfican
9月30日 关联了pull request:修正 MatmulAbftVerify Example 接口调用
Sstarfican
9月30日 关联了pull request:修正 MatmulAbftVerify Example 接口调用
yue-ma成员
9月30日 评论:

/assign @starfican

likedislike
CANN-robotCANN-robot成员
9月30日 将 starfican 设为负责人