已合并
北林:补充课外实验2.1基于并行广度优先遍历的网络故障诊断 #690
北林:补充课外实验2.1基于并行广度优先遍历的网络故障诊断 #690
已合并
zh1125创建于 23 天前
zh1125
23 天前

描述

关联的Issue

测试

文档更新

类型标签

其他信息

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 zh1125 的贡献)
Zzh1125
23 天前 创建了 pull request,commit 1745f40b
atomgit-bot
atomgit-bot
23 天前 评论:

变更摘要

本 PR 主要面向高性能计算(HPC)教程,新增了一个课外实验 notebook 文件 contrib/tutorials/data_structure_for_hpc/02_parallel_computing/02.01_extra_ascendc_parallel_bfs_diagnosis.ipynb。该实验围绕「基于并行广度优先遍历(BFS)的网络故障诊断」主题展开,补充到 02_parallel_computing 章节作为课外实验 2.1;从文件名中的 ascendc 可以看出实验内容面向昇腾 Ascend C 并行计算场景。由于该文件无内嵌补丁内容,具体实现细节仅以新增文件及其路径信息为准。

主要改动

  • 新增课外实验 notebook 文件:新增 contrib/tutorials/data_structure_for_hpc/02_parallel_computing/02.01_extra_ascendc_parallel_bfs_diagnosis.ipynb,为 HPC 并行计算章节补充一个全新的实验教程文件。
  • 引入并行 BFS 网络故障诊断主题:实验内容以「并行广度优先遍历(BFS)」为核心,并将其应用于「网络故障诊断」场景,作为章节课外实验 2.1 的补充材料。
  • 面向 Ascend C 并行计算:新增文件位于 02_parallel_computing 目录下,文件名包含 ascendc,表明该实验与昇腾 Ascend C 的并行计算实现相关。
likedislike
atomgit-bot
atomgit-bot
23 天前 评论:

代码审查

✅ 未发现问题

likedislike
CANN-robotCANN-robot成员
23 天前 添加了label:cann-cla/yes
CANN-robot
CANN-robot成员
23 天前 评论:

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.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.


PR Approval Progress

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

Module Approval Details

module lgtm status approve status
repo-cann/cann-learning-hub waimaidaole, zutao (2/2) waimaidaole, zutao (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robot
CANN-robot成员
23 天前 评论:

CLA Signature Pass

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

likedislike
chenmingyu
chenmingyu成员
16 天前 评论:

@zh1125 感谢提交!data_structure_for_hpc 课程第二章并行计算的 02.01 并行 BFS 诊断实验
已在 CANN 9.1.0 / Ascend 910B3 环境下验证通过,编译运行正常,结果正确。

验证环境

CANN 9.1.0 / Ascend 910B3 / device 7 / Python 3.11.4

文件验证

变动文件 1 个:02.01_extra_ascendc_parallel_bfs_diagnosis.ipynb
文件类型符合规范,无异常文件。

运行验证

Notebook 代码cell 通过 失败 状态
02.01 并行 BFS 诊断 21 21 0 ✅ PASS

说明:

  • 源码通过 %%writefile 动态生成,符合课程规范
  • 编译、NPU 运行、结果校验均无报错
  • Status: PASS,BFS 结果正确

验证通过,可以合入。

感谢您的贡献!

likedislike
meme成员
5 天前 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
5 天前 添加了label:approved
wanzutao
wanzutao成员
5 天前 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
5 天前 添加了label:lgtm
CANN-robotCANN-robot成员
5 天前 合入了pull request