From db1f2c429a68b0c0bf7e1bc3786e7415947f499d Mon Sep 17 00:00:00 2001 From: Zhang Zheng <32410583+ZzSean@users.noreply.github.com> Date: Mon, 17 Jul 2023 14:02:21 +0800 Subject: [PATCH] Delete unused code (#55413) --- paddle/cinn/lang/lower_impl.cc | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/paddle/cinn/lang/lower_impl.cc b/paddle/cinn/lang/lower_impl.cc index f68396a3a3ab1..9441b0a828dcf 100644 --- a/paddle/cinn/lang/lower_impl.cc +++ b/paddle/cinn/lang/lower_impl.cc @@ -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 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 tensors(tensor_args.begin(), tensor_args.end()); tensors.insert( std::end(tensors), temp_tensor_args_.begin(), temp_tensor_args_.end());