已合并
暂时保留已废弃的soc,保留兼容性 #1490
yue-ma创建于 4月8日
暂时保留已废弃的soc,保留兼容性 #1490
已合并
yue-ma创建于 4月8日
yue-ma
4月8日

描述

此修改不引入新功能,仅暂时保留一个弃用的枚举,用于代码编译的兼容性

关联的Issue

测试

文档更新

类型标签

  • 🐛 fix: Bug 修复
  • ✨ feat: 新功能
  • ⚡ perf: 性能优化
  • ♻️ refactor: 代码重构
  • 🧪 test: 新增或修改测试
  • 📝 docs: 文档更新
  • 🔧 ci: CI/CD 配置修改
  • ↩️ revert: 回退
  • 🧹 chore: 其他,请具体描述
likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 yue-ma 的贡献)
Yyue-ma
4月8日 创建了 pull request,commit 16d228d1
CANN-robot
CANN-robot成员
4月8日 评论:

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
include/utils gcw_kUomxQ2l, wuyang_hw (2/2) gcw_kUomxQ2l (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
CANN-robotCANN-robot成员
4月8日 将zengjuan,zhanghao_0689,yanqingshang,wulinyu,zhuliangying,kong0808,dengjing_aoe,YeZZzzz1,bluesky901,wqtshg_wt,yangbinhua,gao_dafa,chenyiyuan,xun_zhuge,ookkkkoo1122,bianque,houyuyang,shi_nanxiang,wuyang_hw,ascendhjh,DragonBornHD84,jiangZD,gcw_kUomxQ2l,Andy-lb,gcw_Dm2TsRUi设为评审人
CANN-robotCANN-robot成员
4月8日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
4月8日 将gcw_kUomxQ2l,Andy-lb,gcw_Dm2TsRUi设为审查人
yue-ma
4月8日 评论:

compile

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

问题/功能描述

本次PR主要对SocVersion枚举类型进行了维护性更新,旨在修复一个因缺失分号导致的语法错误,并新增一个已弃用的枚举值以保持向后兼容性。

修改方案描述

SocVersion枚举类型中,修复了RESERVED_VERSION枚举值后缺失的右花括号},解决了编译问题。同时,在ASCEND910_55之后新增了一个标记为“已弃用,仅用于兼容性”的枚举值ASCEND910_95,该值不涉及业务逻辑。

likedislike
CANN-robotCANN-robot成员
4月8日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
4月8日 评论:

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

任务名称状态日志下载链接
Compile_Ascend_X86 ❌ FAILED >>>>>
Compile_Ascend_ARM ❌ FAILED >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
codecheck ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
pre_comment ✅ 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 ✅ SUCCESS >>>>>
UT_Test_3 ⚪ ABORTED
UT_Test_2 ⚪ ABORTED
UT_Test_1 ⚪ ABORTED
UT_Test ⚪ ABORTED
UT_Test_report ⚪ ABORTED >>>>>

[2026-04-08 20:54:28]    CI执行失败

likedislike
Yyue-ma
4月8日 update merge request[project id: 8547062, iid: 1490, commit_id: abcd5777faed62912743c0b5dcb3f252b1ea51e4] virtual merging success
Yyue-ma
4月8日 强制推送  1 个提交:e3460ddf-暂时保留已废弃的soc,保留兼容性
Yyue-ma
4月8日 update merge request[project id: 8547062, iid: 1490, commit_id: a529f3163e0e69a32202bdac05c9217f681f9ebe] virtual merging success
CANN-robotCANN-robot成员
4月8日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
4月8日 添加了label:ci-pipeline-failed
yue-ma
4月8日 评论:

compile

likedislike
CANN-robotCANN-robot成员
4月8日 删除了label:ci-pipeline-failed
CANN-robotCANN-robot成员
4月8日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
4月8日 评论:

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

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
codecheck ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
pre_comment ✅ 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 ✅ SUCCESS >>>>>
UT_Test_3 ✅ SUCCESS
UT_Test_2 ✅ SUCCESS
UT_Test_1 ✅ SUCCESS
UT_Test ✅ SUCCESS
UT_Test_report ✅ SUCCESS >>>>>

[2026-04-08 21:12:46]    CI执行结束

likedislike
Yyue-ma
4月8日 修改了pull request 的描述
此处折叠了7条事件消息 查看更多
CANN-robotCANN-robot成员
4月9日 添加了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
4月9日 评论:

Notification

This pull request source branch has changed, so removes the following label(s): ci-pipeline-passed.

likedislike
Yyue-ma
4月9日 update merge request[project id: 8547062, iid: 1490, commit_id: 1f1fbff624475b2254111d4ae4094e6d78f6679f] virtual merging success
Yyue-ma
4月9日 强制推送  1 个提交:a97029c5-暂时保留已废弃的soc,保留兼容性
Yyue-ma
4月9日 update merge request[project id: 8547062, iid: 1490, commit_id: 66fb0e0965180d3521e34efa804e7d25223643fb] virtual merging success
CANN-robotCANN-robot成员
4月9日 删除了label:stat/needs-squash
CANN-robotCANN-robot成员
4月9日 删除了label:ci-pipeline-passed
CANN-robot
CANN-robot成员
4月9日 评论:

Notification

This pull request source branch has changed, so removes the following label(s): ci-pipeline-passed.

likedislike
yue-ma
4月9日 评论:

compile

likedislike
CANN-robotCANN-robot成员
4月9日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
4月9日 评论:

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

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
codecheck ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
pre_comment ✅ 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 ✅ SUCCESS >>>>>
UT_Test_3 ✅ SUCCESS
UT_Test_2 ✅ SUCCESS
UT_Test_1 ✅ SUCCESS
UT_Test ✅ SUCCESS
UT_Test_report ✅ SUCCESS >>>>>

[2026-04-09 09:34:24]    CI执行结束

likedislike
CANN-robotCANN-robot成员
4月9日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
4月9日 添加了label:ci-pipeline-passed
ascendhjh成员
4月9日 评论:

/approve

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

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
黄金华

likedislike
吴洋成员
4月11日 评论:

/lgtm

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

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
黄金华

likedislike
liulun0308成员
4月11日 评论:

/approve

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

The following users do not have permission to comment /lgtm or /approve on any module in this PR:
黄金华

likedislike
CANN-robotCANN-robot成员
4月11日 添加了label:lgtmapproved
CANN-robot
CANN-robot成员
4月11日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: gcw_kUomxQ2l.
Reviewers who wrote a comment of /lgtm are: wuyang_hw, gcw_kUomxQ2l.

likedislike
CANN-robotCANN-robot成员
4月11日 合入了pull request