-
Notifications
You must be signed in to change notification settings - Fork 5.7k
[CINN] Compile time status count #72206
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
base: develop
Are you sure you want to change the base?
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
b15b1df
to
3d85d41
Compare
@@ -264,8 +264,10 @@ void Compiler::EndCompile() { | |||
auto end = std::chrono::high_resolution_clock::now(); | |||
auto duration = | |||
std::chrono::duration_cast<std::chrono::microseconds>(end - start); | |||
LOG(INFO) << "Time of nvrtc compile: ***** [ " << duration.count() | |||
<< " ] ***** microseconds."; | |||
if (FLAGS_cinn_debug) { |
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.
现在别加呀 😂 现在还没有这个 flag,我是说下周一 #72181 合入后再加
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.
PR 已合入,可以 merge 下最新 develop,另外记得相关 flag 使用前需要 declare 下
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.
// node->set_type( | ||
// tensor->type().ElementOf().with_lanes(node->index().type().lanes())); |
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.
下一个PR把注释删除吧
PR Category
CINN
PR Types
Others
Description
paddle/cinn/ir/ir.cc
中726行替换为node->set_type(tensor->type())
transpose
操作减少耗时