Skip to content

Commit

Permalink
add dtor
Browse files Browse the repository at this point in the history
  • Loading branch information
Thunderbrook committed May 10, 2021
1 parent bdfe875 commit 007a227
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions paddle/fluid/framework/heter_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ enum HeterTaskState { PULL_SPARSE, OP_RUN, XPU, OP_RUN_END, PUSH_GRAD, DONE };

class HeterTask {
public:
HeterTask() {}
virtual ~HeterTask(){};

void Update() {
if (state_ == PULL_SPARSE) {
state_ = OP_RUN;
Expand Down

0 comments on commit 007a227

Please sign in to comment.