已关闭
[Requirement|需求建议]: 统一 mc62 SOC 短命名格式 #2788
leiqingji创建于  5月30日关闭于  5月30日
leiqingji成员
5月30日 创建

Backgroud / 背景信息

当前代码库中 mc62 芯片使用长命名格式 mc62cm12a,需要统一改为短命名格式 mc62,以保持命名规范一致性。

Benefit / Necessity / 价值/作用

  • 统一 SOC 命名格式,提升代码可读性
  • 与其他短命名 SOC(如 ascend910b、ascend950、kirinx90)保持风格一致
  • 简化构建脚本和配置文件中的 SOC 版本管理

Design / 设计方案

将所有 mc62cm12a 引用替换为 mc62,涉及以下文件:

  • CMakeLists.txt: 更新 ASCEND_ALL_COMPUTE_UNIT 和 SOC_VERSION_LIST
  • build.sh: 更新 SUPPORT_COMPUTE_UNIT_SHORT 数组
  • cmake/func.cmake: 更新条件判断
  • attention/fused_infer_attention_score/op_host/fused_infer_attention_score_def.cpp
  • attention/incre_flash_attention/op_host/CMakeLists.txtincre_flash_attention_def.cpp
  • attention/prompt_flash_attention/op_host/CMakeLists.txtprompt_flash_attention_def.cpp
  • posembedding/apply_rotary_pos_emb/op_host/CMakeLists.txtapply_rotary_pos_emb_def.cpp

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

关联PR: #6034

likedislike
leiqingji成员
5月30日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
5月30日 将 leiqingji 设为负责人
CANN-robotCANN-robot成员
5月30日 关闭了 issue
CANN-robotCANN-robot成员
5月30日 添加了label:resolved