Skip to content

Commit

Permalink
[APU] Fix the missing of return statement that causes an infinite loo…
Browse files Browse the repository at this point in the history
…p is generated by clang (#4551)
  • Loading branch information
hong19860320 authored Oct 16, 2020
1 parent 9501366 commit 9fc6ec2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lite/kernels/apu/subgraph_compute.cc
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ bool SubgraphEngine::BuildDeviceProgram() {
<< origin_otensors_[i]->dims() << " memory_size "
<< origin_otensors_[i]->memory_size();
}
return true;
}

bool SubgraphEngine::LaunchDeviceProgram() {
Expand Down

0 comments on commit 9fc6ec2

Please sign in to comment.