已合并
【feat】: HostCPU 融合 Codegen 迁移至标准 CustomOp #4669
ZhuXincheng创建于 4 天前
【feat】: HostCPU 融合 Codegen 迁移至标准 CustomOp #4669
已合并
Pull Request已成功合入, 合并人@CANN-robot
(感谢 ZhuXincheng 的贡献)4 天前 添加了label:enhancement
4 天前 创建了 pull request,commit 810e30b0
atomgit-bot
4 天前 评论:
4 天前 评论:
🤖 正在生成合并请求摘要,请稍候…


atomgit-bot
4 天前 评论:
4 天前 评论:
🤖 AI 代码检视正在进行中,请稍候…


4 天前 添加了label:cann-cla/yes
此处折叠了47条消息 查看更多
yangyongqiang
4 天前 评论:
4 天前 评论:
/lgtm


4 天前 添加了label:lgtm
yangyongqiang
4 天前 评论:
4 天前 评论:
/approve


4 天前 添加了label:approved
4 天前 合入了pull request
Pull Request
描述
将 HostCPU 融合 Codegen 从 RT2 私有
FusedHostCpuComputeABI 迁移为标准 HostCPU CustomOp SO 链路。HostCpuFusionPass筛选可融合的 SmallShape HostCPU 节点,按连通域和 sink 规划融合区域,并在全部 JIT 准备成功后再提交图替换;
HostCpuExecuteOp/PortableOp的 CustomOp SO,运行时通过AicpuHostFindFunc获取原始算子的Gert HostKernel,按原拓扑执行;
kCustomOp写入 root graph 的bin_file_buffer,接入 CustomOp 注册、切图属性继承及 SO in OM打包;
变更类型
请选择本次引入的变更类型:
关联的Issue
如何测试
描述测试此变更的步骤和前提条件:
1.
2.
核对清单
其他信息
在此添加任何其他关于本次 PR 的说明。