-
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
[PHI decoupling] Move fluid op generator into fluid #47714
[PHI decoupling] Move fluid op generator into fluid #47714
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
if(NOT PYTHONINTERP_FOUND) | ||
find_package(PythonInterp REQUIRED) | ||
endif() |
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.
这里好像和上面重复了
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.
done, thx
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
PR types
Others
PR changes
Others
Describe
[PHI decoupling] Move fluid op generator into fluid
为什么需要移动这部分代码?
op生成工具的代码include了fluid中的文件,需要移出去
PHI中的算子定义是配置式的,设计上是希望各执行架构结合自己的需求,基于同一套配置式算子定义,生成自己的算子实现,因此各执行架构的算子生成代码需要在各自目录体系中:
phi/ops/compat目录下的sig.cc按理说也应该移到fluid,但这些除了给fluid用,也在给infrt用,infrt是不能依赖fluid的,所以暂时不移动,后面是否移动需要看infrt后续的规划