已关闭
[Bug-Report|缺陷反馈]: ExtendConvTranspose算子L1 地址未按 64B 对齐导致 AIC error #4695
sunlesheng创建于 8月11日关闭于 8月11日
sunlesheng
8月11日 评论:
8月11日 评论:
/assign


8月11日 将 sunlesheng 设为负责人
8月11日 修改了issue 的描述
8月11日 修改了issue 的描述
8月11日 修改标题为 “[Bug-Report|缺陷反馈]: L1 地址未按 64B 对齐导致 AIC error”,原标题为“[Bug-Report|缺陷反馈]: ”
8月11日 修改标题为 “[Bug-Report|缺陷反馈]: ExtendConvTranspose算子L1 地址未按 64B 对齐导致 AIC error”,原标题为“[Bug-Report|缺陷反馈]: L1 地址未按 64B 对齐导致 AIC error”
8月11日 修改标题为 “[Bug-Report|缺陷反馈]: ExtendConvTranspose算子L1 地址未按 64B 对齐导致 AIC error”,原标题为“[Bug-Report|缺陷反馈]: L1 地址未按 64B 对齐导致 AIC error”
8月11日 关闭了 issue
8月11日 添加了label:resolved
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
算子
ExtendConvTranspose在带 bias 的场景下,L1 中 bias 数据的偏移量与元素个数未按 64 字节对齐,导致后续 scale 数据起始地址未对齐,触发 AIC error。Environment / 环境信息 (Mandatory / 必填)
conv3d_backprop_input_v2Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
ExtendConvTranspose算子,开启 bias(及 scale)场景。singleCoreCin * sizeof(biasType)不是 64 的整数倍时,bias 在 L1 中占用的字节数未做 64B 对齐。GetScaleL1OffBytes()返回的 scale 起始偏移未对齐到 64B,LoadChannelWiseL1在尾部未对齐块残留脏数据,触发 AIC error。Describe the expected behavior / 预期结果 (Mandatory / 必填)
DivCeil(singleCoreCin * sizeof(biasType), 64) << 6。LoadChannelWiseL1中rightPadding计算简化为DivCeil(blockBytes, ONE_BLK_SIZE) * ONE_BLK_SIZE / sizeof(channelWiseType) - loadNum。InitL1ZeroValue(仅blockBytes == 0或 32B 块数为奇数时清零),避免尾部未对齐块残留脏数据。Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
aicore error
Special notes for this issue/备注 (Optional / 选填)