Open
[Requirement|需求建议]:MC2 数据面原语切换 asc-comm asccomm 接口 #1899
liuyimingAdd on Oct 20
Oct 20 Change title to "[Requirement|需求建议]:MC2 数据面原语切换 asc-comm asccomm 接口", originally titled "MC2 数据面原语切换 asc-comm asccomm 接口".
Oct 20 Change title to "[Requirement|需求建议]:MC2 数据面原语切换 asc-comm asccomm 接口", originally titled "MC2 数据面原语切换 asc-comm asccomm 接口".
Oct 20 Modify description of issue
Oct 20 Modify description of issue
Oct 20 Assign WhiteJunior as responsible person
Oct 22 Modify description of issue
Oct 22 Associated pull request
23 days ago changed custom category from 任务 to 需求
9 days ago changed custom category from 需求 to 任务
背景
MC2 算子开发 API 的数据面原语(
Hcomm*OnThread系列,extern 链接 libhcomm.so)需要切换为asc-comm 仓提供的 asccomm 接口(
asccomm_*,运行时由设备侧 libasccomm_aicpu.so 提供),使 MC2 通信栈与 asc-comm 数据面归一。
目标
消除 LD_PRELOAD 过渡方案
all2allv/allgather_v1)全通
依赖(关键)
本工作与两个未合入 PR 强耦合,构成联调组合:
两者合入前,本 PR 的分支作为 WIP 持续集成联调修复,不请求合入。
已完成工作(截至 2026-10-22)
(asccomm_batch_mode_start/end)全部切换,dpu 路径按语义确认结果另项处理
(AICPU 按 so 逐个 dlopen 的加载机制要求提供者必须登记),真身由设备侧部署单元供给
POD 实体地址 → 虚表指针非法 → SIGSEGV),已按 UnwrapThreadHandle 语义补齐兼容解包
(软件侧 61 行探针全绿、输入参数全部合法、纯商发基线对照 PASS),
与数据面同事联调定位中(对端 IPC 地址的 SDMA 访问有效性 / SQE 构造语义两个方向)
验收标准
U 符号满足度符合映射表(notes/22)