Skip to content

Commit

Permalink
Delete unused code (#55413)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZzSean authored Jul 17, 2023
1 parent 2241c97 commit db1f2c4
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions paddle/cinn/lang/lower_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit db1f2c4

Please sign in to comment.