-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CINN] Refact struct group #62339
[CINN] Refact struct group #62339
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
|
❌ The PR is not created using PR's template. You can refer to this Demo. |
@@ -86,6 +86,15 @@ inline OpLowerer<pir::GroupPtr> CreateOpLowerer(const Target& target) { | |||
auto* impl_base = new pir::OpLowererImpl(target); | |||
return OpLowerer<pir::GroupPtr>(impl_base); | |||
} | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
原先的pir::GroupPtr
接口需要删掉
using GroupPtr = std::shared_ptr<Group>; | ||
GroupPtr base_group; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不需要持有原来的Group,需要的成员直接拷贝过来,这个class可以单独放到一个新文件中
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, 我再修改一下
5f663f5
to
8f2a4f3
Compare
6fa8c68
to
1dccb6f
Compare
1dccb6f
to
e7a7d74
Compare
46d0fac
to
bf1f14f
Compare
…_op_pass Signed-off-by: ZelinMa557 <3388706467@qq.com>
bf1f14f
to
517aa25
Compare
PR types
Others
PR changes
Others
Description
Replace struct
Group
withOpLoweringGroup
in the lower_cinn_fusion_op_pass.