Closed
[Bug-Report|缺陷反馈]: tf输入动态shape场景开启内存检查场景用例,有大量的gather_nd算子相关的warning打屏,请优化 #8295
xingtaowuAdd on 16 days agoClosed at 13 days ago
16 days ago Added label: bug-report
16 days ago Assign xingtaowu as responsible person
13 days ago Close issue
13 days ago changed custom state from 进行中 to 已完成
13 days ago Added label: resolved
Describe the current behavior / 问题描述 (Mandatory / 必填)
gather_nd 算子 DMA 模板在编译执行阶段出现 warning 日志打屏的问题,在 index/gather_nd/op_kernel/arch35/gather_nd_simd_dma.h 的 GatherNdSimdDma 类 DealIndices 相关逻辑中,将两处未限定命名空间的 Move 调用显式限定为 AscendC::Reg::Move,使符号查找指向确定的 AscendC::Reg 命名空间实现,从而消除由此产生的编译告警输出。
Environment Information / 环境信息 (Mandatory / 必填)
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
使用当前代码960 dt 的cann 包部署环境,使用tensorflow 调用gather_nd 算子。
Describe the expected behavior / 预期结果 (Mandatory / 必填)
不能打印日志
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
/Ascend/cann-9.3.0/opp/built-in/op_impl/ai_core/tbe/impl/ops_nn/dynamic/../ascendc/gather_nd/./arch35/gather_nd_simd_dma.h:190:17: warning: use of function template name with no prior declaration in function call with explicit template arguments is a C++20 extension [-Wc++20-extensions]
Move<OFFSET_T, AscendC::Reg::MaskMergeMode::MERGING>(inReg, tmpReg, tmpMask);
Special notes for this issue/备注 (Optional / 选填)