Skip to content
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]Unify fluid kernel (Part4) #52626

Merged
merged 8 commits into from
Apr 17, 2023

Conversation

YuanRisheng
Copy link
Contributor

PR types

Others

PR changes

Others

Describe

Pcard-67000
将以下Fluid op注册到phi中:
recv_v2
resnet_unit
retinanet_detection_output
roi_perspective_transform
row_conv
rpn_target_assign
run_program

@paddle-bot
Copy link

paddle-bot bot commented Apr 7, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

jiahy0825
jiahy0825 previously approved these changes Apr 17, 2023
Copy link
Contributor

@jiahy0825 jiahy0825 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment on lines 99 to 103
set(run_program_op_srcs run_program_op.cc)
if (WITH_GPU OR WITH_ROCM)
list(APPEND run_program_op_srcs run_program_op.cu)
endif()
op_library(run_program_op SRCS ${run_program_op_srcs} DEPS executor_cache ${OP_HEADER_DEPS})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里可以直接用 op_library(run_program_op DEPS executor_cache ${OP_HEADER_DEPS}) 吗,在 op_library 的逻辑里会自动搜索和 op 同名的 src 文件,并自动使用相应的宏处理

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好的,我试一下

Copy link
Contributor

@heavyrain-lzy heavyrain-lzy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@huangjiyi huangjiyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@jiahy0825 jiahy0825 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@YuanRisheng YuanRisheng merged commit 1b5eba8 into PaddlePaddle:develop Apr 17, 2023
jjyaoao pushed a commit to jjyaoao/Paddle that referenced this pull request Apr 19, 2023
* unify kernel

* fix ci bugs

* fix py3 bugs

* fix py3 bugs

* perfect code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants