已合并
style: 统一 Autofuse 代码格式 #921
style: 统一 Autofuse 代码格式 #921
已合并
ling-DT创建于 6月18日
ling-DT成员
6月18日

Pull Request

描述

基于 cann/graph-autofusion:develop 最新提交 46a23b0,使用仓库根目录 .clang-formatautofuse/ 目录内受版本管理的 C/C++/AscendC 源文件执行统一格式化。

本 PR 仅包含 autofuse/ 目录格式化变更;super_kernel/ 目录格式化变更按要求暂留本地,未提交到本 PR。

格式化工具:clang-format 18.1.8,参数:--style=file

变更类型

请选择本次引入的变更类型:

关联的Issue

无。

如何测试

描述测试此变更的步骤和前提条件:

  1. /tmp/opencode/clang-format-18-venv/bin/clang-format -i --style=file <autofuse C/C++/AscendC files>
  2. git diff --cached --check
  3. git diff --name-only HEAD~1..HEAD | cut -d/ -f1 | sort | uniq -c 确认 PR 提交仅包含 autofuse/

核对清单

其他信息

本 PR 为纯格式化变更,不涉及功能逻辑、接口、构建脚本或打包内容修改。

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 ling-DT 的贡献)
Lling-DT成员
6月18日 创建了 pull request,commit d9ec97c0
CANN-robotCANN-robot成员
6月18日 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
6月18日 评论:

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
repo-cann/graph-autofusion zhang_shengjie, xchu42, wangxiaotian995 (3/2) wangxiaotian995 (1/1)

💡 Tip:

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

CLA Signature Pass

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

likedislike
ling-DT成员
6月18日 评论:

compile

likedislike
Lling-DT成员
6月18日 update merge request[project id: 8005834, iid: 921, commit_id: 9d22c5eb25b096ccfa196e04676295d1570d8a1a] virtual merging success
此处折叠了71条消息 查看更多
xchu42
xchu42成员
6月22日 评论:

/lgtm

likedislike
CANN-robotCANN-robot成员
6月22日 添加了label:lgtm
wangxiaotian995成员
6月22日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
6月22日 添加了label:approved
CANN-robotCANN-robot成员
6月22日 合入了pull request