已合并
修复STFT算子int32/uint32溢出风险 #3133
east_yang创建于 6月4日
修复STFT算子int32/uint32溢出风险 #3133
已合并
east_yang创建于 6月4日
east_yang成员
6月4日

描述

排查整改STFT可能存在的int32、uint32溢出风险

关联的Issue

测试

image.png

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 east_yang 的贡献)
Eeast_yang成员
6月4日 创建了 pull request,commit 12144487
Eeast_yang成员
6月4日 关联了issue:[Bug-Report|缺陷反馈]: stft算子代码int32/uint32溢出风险
Eeast_yang成员
6月4日 修改了pull request 的描述
CANN-robotCANN-robot成员
6月4日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
6月4日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here
You can get sig-info at here


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
math/stft luowen203_gg123, renruhai (2/2) luowen203_gg123 (1/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

east_yang, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
east_yang成员
6月4日 评论:

compile

likedislike
Eeast_yang成员
6月4日 update merge request[project id: 7649531, iid: 3133, commit_id: f4c17fdf3fc1ca888ee53ad263d4f649b3cca2f0] virtual merging success
CANN-robotCANN-robot成员
6月4日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
6月4日 评论:

流水线任务触发成功
任务链接 [f25e5baf90ab4756b9c7e34e2ffd49b8][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_harmony-infer ✅ SUCCESS >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
API_Check ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-06-04 17:33:30]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
6月4日 评论:

流水线任务触发成功
任务链接 [038c9d9caa2f4b2db0eee6a4f7356096][流水线指导]

任务名称状态日志下载链接
codecheck ❌ FAILED >>>>>
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_Pr ✅ SUCCESS
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_codestyle ⚠️ WARNING >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>
likedislike
CANN-robotCANN-robot成员
6月4日 添加了label:api-check-pass
CANN-robotCANN-robot成员
6月4日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
6月4日 添加了label:ci-pipeline-failed
Eeast_yang成员
6月4日 修改了pull request 的描述
east_yang成员
6月4日 评论:

compile

likedislike
Eeast_yang成员
6月4日 update merge request[project id: 7649531, iid: 3133, commit_id: 3970347cd21362c09911e3b3c6ebf43f8c891919] virtual merging success
CANN-robotCANN-robot成员
6月4日 删除了label:ci-pipeline-failedapi-check-pass
CANN-robotCANN-robot成员
6月4日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
6月4日 评论:

流水线任务触发成功
任务链接 [afe8e114901f456ca090d9ed402ac8fd][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_harmony-infer ✅ SUCCESS >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
PreSmoke_A900 ❌ FAILED >>>>>
API_Check ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>
likedislike
renruhai成员
6月4日 评论:

/lgtm

likedislike
CANN-robot
CANN-robot成员
6月4日 评论:

流水线任务触发成功
任务链接 [416a54c769fe41c8a7bd340f24be7482][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_Pr ✅ SUCCESS
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_codestyle ⚠️ WARNING >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>

[2026-06-04 19:18:12]    CI执行结束

likedislike
luowen203_gg123成员
6月4日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
6月4日 添加了label:lgtmapproved
CANN-robotCANN-robot成员
6月4日 添加了label:api-check-pass
CANN-robotCANN-robot成员
6月4日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
6月4日 添加了label:ci-pipeline-failed
east_yang成员
6月4日 评论:

compile#PreSmoke_A900

likedislike
Eeast_yang成员
6月4日 update merge request[project id: 7649531, iid: 3133, commit_id: f1a3049d99b5d3db35af1756ae570f0f6296331d] virtual merging success
CANN-robotCANN-robot成员
6月4日 删除了label:ci-pipeline-failedapi-check-pass
CANN-robotCANN-robot成员
6月4日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
6月4日 评论:

流水线任务触发成功
任务链接 [f6eabead1a6e4977863ae11565128ed8][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_harmony-infer ✅ SUCCESS >>>>>
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5_ubuntu24 ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910b ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_910c ✅ SUCCESS >>>>> >>>>>
Compile_X86_monitor_950 ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
PreSmoke_A900 ✅ SUCCESS >>>>>
API_Check ✅ SUCCESS >>>>>
PreSmoke_ATK_Test_A2 ✅ SUCCESS >>>>>

[2026-06-04 20:15:50]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
6月4日 评论:

流水线任务触发成功
任务链接 [4e74d2dfb08242768b240a9e3b65f063][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
antipoison ✅ SUCCESS >>>>>
codecheck_Pr ✅ SUCCESS
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
codecheck_codestyle ⚠️ WARNING >>>>>
codecheck_precommit ⚠️ WARNING >>>>> >>>>>

[2026-06-04 20:11:29]    CI执行结束

likedislike
CANN-robotCANN-robot成员
6月4日 添加了label:api-check-pass
CANN-robotCANN-robot成员
6月4日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
6月4日 添加了label:ci-pipeline-passed
CANN-robotCANN-robot成员
6月4日 关闭了关联的issue
CANN-robotCANN-robot成员
6月4日 合入了pull request