https://gitcode.com/cann/asc-comm/issues/new/requirement (或仓库 Issues 页 → 新建 → 选择「Requirement|需求建议」模板)
当前 asc-comm 仓中 jetty 层点对点写原语(include/aicore/jetty/hcomm_jetty.h)仅支持 AIV(SIMD)执行模型:WQE 构造、SQ 头推进与 DWQE 发布均以 AIV 主体 + RingDoorbell() 的方式完成。
asc-comm
include/aicore/jetty/hcomm_jetty.h
RingDoorbell()
SIMT VF kernel 尚无法直接驱动 URMA jetty 通道完成点对点写:
内部需求:SIMT kernel 直驱 URMA jetty 点对点通信能力(对应 PR #177)。
Put
Write<..., false>
AdvanceSq
PublishSq
在 include/aicore/jetty/ 下新增 SIMT 公共头 hcomm_jetty_simt.h,提供 AscendC::simt::jetty::HcommJetty:
include/aicore/jetty/
hcomm_jetty_simt.h
AscendC::simt::jetty::HcommJetty
HcommJettyInfo
HcommJettyPeerInfo
Write
WriteValue
WriteWithNotify
Drain
COMM_PROTOCOL_UB_CTP
src/aicore/jetty/impl/platform_v310/
examples/simt_jetty/
创建位置
https://gitcode.com/cann/asc-comm/issues/new/requirement
(或仓库 Issues 页 → 新建 → 选择「Requirement|需求建议」模板)
标题
正文
Backgroud(背景信息)
当前
asc-comm仓中 jetty 层点对点写原语(include/aicore/jetty/hcomm_jetty.h)仅支持 AIV(SIMD)执行模型:WQE 构造、SQ 头推进与 DWQE 发布均以 AIV 主体 +RingDoorbell()的方式完成。SIMT VF kernel 尚无法直接驱动 URMA jetty 通道完成点对点写:
Origin(信息来源)
内部需求:SIMT kernel 直驱 URMA jetty 点对点通信能力(对应 PR #177)。
Benefit / Necessity (价值/作用)
Put)与延迟提交(Write<..., false>+AdvanceSq+PublishSq)两条路径,便于按场景权衡吞吐与延迟;RingDoorbell()发布),覆盖 SIMT/SIMD 混合 kernel。Design(设计方案)
在
include/aicore/jetty/下新增 SIMT 公共头hcomm_jetty_simt.h,提供AscendC::simt::jetty::HcommJetty:HcommJettyInfo(80B)/HcommJettyPeerInfo(48B)元数据与 GM jetty 表,kernel 侧直接从 GM jetty 表解析队列与远端信息,不需要静态或动态 UB workspace;Write/Put(立即/延迟提交)、WriteValue(立即数写)、WriteWithNotify(带远端通知写)、AdvanceSq/PublishSq(SQ 头推进与 DWQE 发布,缺一不可)、Drain(带超时的回收);Write必须属于同一 batch,由 group leader 统一提交;COMM_PROTOCOL_UB_CTP)实现位于src/aicore/jetty/impl/platform_v310/;examples/simt_jetty/样例(thread / warp / warp-pad / group / dispatch / mixed 六种模式,含编译/正确性/压测/性能脚本)及 UT 用例。