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

[PIR]Move Operation::operand_index() into Operand::index() #59791

Merged
merged 4 commits into from
Dec 8, 2023

Conversation

Aurelius84
Copy link
Contributor

@Aurelius84 Aurelius84 commented Dec 7, 2023

PR types

Function optimization

PR changes

Others

Description

Pcard-67164

由于指针偏移方案依赖 sizeof(Operation),故在operand_impl.cc 编译单元里include了 operation.h的头文件。

Copy link

paddle-bot bot commented Dec 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.

Copy link
Contributor

@yuanlehome yuanlehome left a comment

Choose a reason for hiding this comment

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

LGTM

@yuanlehome
Copy link
Contributor

是不是需要在某个单测里加上对此api的测试?

@Aurelius84
Copy link
Contributor Author

是不是需要在某个单测里加上对此api的测试?

是应该有的。我单独提个单测的PR吧

Copy link
Contributor

@winter-wang winter-wang left a comment

Choose a reason for hiding this comment

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

LGTM

@Aurelius84 Aurelius84 merged commit 65df472 into PaddlePaddle:develop Dec 8, 2023
28 of 29 checks passed
@Aurelius84
Copy link
Contributor Author

单测PR见:#59821

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.

None yet

3 participants