未验证 提交 db1f2c42 编写于 作者: Z Zhang Zheng 提交者: GitHub

Delete unused code (#55413)

上级 2241c977
......@@ -833,19 +833,9 @@ LowerImpl::LowerImpl(const std::string& fn_name,
temp_tensor_args_(temp_tensor_args),
target_(target),
support_ir_schedule_(support_ir_schedule) {
{ // Initialize the graph
std::vector<ir::Tensor> tensors(tensor_args.begin(), tensor_args.end());
tensors.insert(
std::end(tensors), temp_tensor_args.begin(), temp_tensor_args.end());
compu_graph_ = CreateCompGraph(tensors, stages, false /*inline_hide*/);
VLOG(1) << "compute_graph:\n" << compu_graph_->Visualize();
}
// Todo: Here insert auto syncthreads() @haoze
{ // update schedule.
{ // Update schedule
std::vector<ir::Tensor> tensors(tensor_args.begin(), tensor_args.end());
tensors.insert(
std::end(tensors), temp_tensor_args_.begin(), temp_tensor_args_.end());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册