-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[PIR]Add cinn::dialect::GroupOp for BuildCinnPass #57304
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
// TODO(Aurelius84): Need to figure out what we need indeed for GroupOp. | ||
// Currently we paste almost members here and will remove them step by | ||
// step. | ||
struct GroupInfo { |
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.
GroupInfo 目前在Compiler阶段以及Fusion Merge都会用到,目前是作为了一个Attribute把那定到Group里,方便存取。后续将考虑看是否可以解耦,以独立于pir::Op体系
|
||
// TODO(Aurlius84): Need to figure out how to rebuild relation info of ops outer | ||
// GroupOp | ||
void GroupOp::Build(pir::Builder &builder, |
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.
GroupOp的构建和内在Ops的「断边」以及「重建」将在另一个PR里的BuildCinnPass::ReplaceWithGroupOp 里实现
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.
LGTM
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.
LGTM
* [PIR]Add cinn::dialect::GroupOp * fix unittest * fix typo
* [PIR]Add cinn::dialect::GroupOp * fix unittest * fix typo
PR types
Others
PR changes
OPs
Description
Pcard-67164
see: #56880
整体适配思路详见技术文档:#56879