Closed
[Bug-Report|缺陷反馈]: conv_bp_sub_func_deterministic_ub2gm.h 纯代码行 509 超出 500 行超大文件约束 #7916
終極龍閃Add on  19 days agoClosed at  18 days ago
終極龍閃
終極龍閃
19 days ago Create

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

conv3d_backprop_filter_v2 arch35 kernel 的确定性 UB+GM 搬运编排头文件 op_kernel/arch35/conv3d_backprop/impl/conv_bp_sub_func_deterministic_ub2gm.h 总行 599、纯代码行(去注释与空行)509,超出单文件 500 行规模约束。

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

CANN 9.3.0

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

  1. wc -l conv/conv3d_backprop_filter_v2/op_kernel/arch35/conv3d_backprop/impl/conv_bp_sub_func_deterministic_ub2gm.h → 599
  2. 去注释(20 行)与空行(70 行)后统计纯代码行 → 509,超出 500 行上限

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

该头文件纯代码行 ≤500,且模板实例化行为零变化。

重构前后统计,纯代码行从509->497

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

likedislike
yuning_chenyuning_chenCollaborators
19 days ago Assign lileizheng as responsible person
yuning_chen
yuning_chenCollaborators
19 days ago Comments:

初步分析

感谢反馈,我们已开始核对这个问题。

现象理解:conv_bp_sub_func_deterministic_ub2gm.h 纯代码行约 509,超出单文件 500 行约束。
当前判断:初步判断,待复现确认。属 arch35 conv3d_backprop 确定性搬运头文件体量超标,需拆分且保持模板行为不变。
涉及范围:conv/conv3d_backprop_filter_v2/.../conv_bp_sub_func_deterministic_ub2gm.h
下一步:按行数统计复核,评估无行为变化的拆分方案。

likedislike
yuning_chen
yuning_chenCollaborators
19 days ago Comments:

您好,该问题已收到,当前问题 @lileizheng 正在处理中

likedislike
CANN-robotCANN-robotCollaborators
18 days ago Close issue
CANN-robotCANN-robotCollaborators
18 days ago Added label: resolved