已关闭
[Bug-Report|缺陷反馈]: 3510 TransTo5HD 接口使用宏实现 #1521
leozjr创建于 22 天前关闭于 4 天前
22 天前 添加了label:bug-report
22 天前 将 leozjr 设为负责人
22 天前 关联了pull request:fix: replace 3510 transto5hd macros
22 天前 修改了issue 的描述
21 天前 修改了issue 的描述
4 天前 issue状态由 进行中 改变为 已解决
4 天前 关闭了 issue
4 天前 添加了label:resolved
Describe the current behavior / 问题描述 (Mandatory / 必填)
2201 和 3510 架构的
asc_transto5hd_b8/b16/b32及同步接口在内部实现层或 wrapper 层使用函数宏,不符合 C API 现行的 inline 函数实现规范;公共vector_compute.h也缺少统一的接口声明。Environment / 环境信息 (Mandatory / 必填)
CANN 安装环境;与硬件型号无关。
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
检查
impl/c_api/instr_impl/npu_arch_2201/vector_compute_impl/asc_transto5hd_impl.h、impl/c_api/instr_impl/npu_arch_2201/vector_compute_impl.h以及对应的 3510 文件,可见接口通过宏定义实现;检查include/c_api/vector_compute/vector_compute.h,缺少统一的公共声明。Describe the expected behavior / 预期结果 (Mandatory / 必填)
2201 和 3510 侧接口均改为与
asc_transpose一致的 inline 函数实现方式,并在公共头中提供统一声明,同时保持既有指令调用和同步语义。Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
2201 和 3510 C API AIV TransTo5HD UT 均已通过,各 6/6。
Special notes for this issue / 备注 (Optional / 选填)
修复 PR:cann/asc-devkit!5146