未验证 提交 93f2ad19 编写于 作者: A Aurelius84 提交者: GitHub

[NewIR]Fix VLOG Ptr display problem and increase amp log level (#55149)

* [NewIR]Fix VLOG Ptr display problem and decrease amp log level

* fix codestyle
上级 03f9fde5
......@@ -101,7 +101,7 @@ OpSupportedInfos(const std::string& place,
#endif
if (is_target_place[query_place](
phi::TransToPhiPlace(info_pair.first.backend(), false))) {
VLOG(4) << op_type << " " << supported_ops.size();
VLOG(8) << op_type << " " << supported_ops.size();
supported_ops.emplace(op_type);
}
}
......
......@@ -49,7 +49,8 @@ OpInfo OpInfoImpl::Create(Dialect *dialect,
base_ptr += traits_num * sizeof(TypeId);
}
// Construct OpInfoImpl.
VLOG(6) << "Construct OpInfoImpl at " << base_ptr << " ......";
VLOG(6) << "Construct OpInfoImpl at " << reinterpret_cast<void *>(base_ptr)
<< " ......";
OpInfo op_info = OpInfo(new (base_ptr) OpInfoImpl(dialect,
op_id,
op_name,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册