-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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] Refine pir exe log && open some while test case for pir #60138
[PIR] Refine pir exe log && open some while test case for pir #60138
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
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
ss << "end\n"; | ||
VLOG(6) << ss.str(); | ||
if (VLOG_IS_ON(2)) { | ||
std::cout << "======================== pir interpreter trace order " |
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.
我记得好像有个规则是不允许使用std::cout.
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.
是的,当日志的字符串过长,使用 vlog 会出现截断的情况,这里通过 VLOG_IS_ON 来控制 cout 仅会在日志打印中出现
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
…Paddle#60138) * refine * fix * fix * fix * refine
PR types
New features
PR changes
Others
Description
Refine pir exe log && open some while test case for pir
Pcard-67164