已关闭
[Bug-Report|缺陷反馈]: 日志文案存在多处拼写错误,影响问题定位与日志检索 #96
syy_3597创建于  11 天前关闭于  11 天前
syy_3597
11 天前 创建

Describe the current behavior / 问题描述

代码审查发现日志文案存在多处拼写错误与病句。日志是问题定位的第一入口,错误拼写会导致按关键词检索日志时遗漏,降低可诊断性。

问题位置与内容

位置 错误内容 应为
core/utils/common_check.cpp:57 wthich is not be expected which is not as expected
core/fft/fft_api.cpp:1094 plan is not initilized. plan is not initialized.
core/fft/fftcore/fft_core_common_func.cpp 多处 nalloc failed alloc failed(疑为 not alloc 笔误)
core/blas/blasplan/BlasCalPlan.cpp:59 BlasCalPlan maskTensor malloc failed: (末尾悬空冒号) 补全或去掉悬空冒号
core/base/swaplast2axes.cpp:53 ouTensor outTensor
core/blas/blas_api.cpp:56 Blas get synchronized. Blas stream synchronized.

Impact / 影响

纯字符串字面量问题,不涉及任何分支逻辑,修改后编译通过即无回归。

Suggested fix / 修复建议

仅修正字符串字面量,不动代码结构。

Environment / 环境信息

  • 审查基线: 本地代码审查(2026-08)
  • 涉及模块: core/utils、core/fft、core/blas、core/base
likedislike
east_yang成员
11 天前 评论:

感谢您的反馈,当前@east_yang跟踪处理中。

likedislike
Ssyy_3597
11 天前 关联了pull request:fix: 修复代码审查发现的健壮性与文档问题(#96-#105)
CANN-robotCANN-robot成员
11 天前 关闭了 issue
CANN-robotCANN-robot成员
10 天前 添加了label:resolved