Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Fix missing #endif after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Serge Panev <[email protected]>
  • Loading branch information
Kh4L committed Sep 7, 2021
1 parent 362f56a commit d863554
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/ndarray/ndarray.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1189,10 +1189,9 @@ void SetValueOp(const real_t& rhs, NDArray* out) {
} else {
ndarray::Eval(ctx.get_stream<gpu>(), rhs, ret);
}
// Wait GPU kernel to complete
ctx.get_stream<gpu>()->Wait();
break;
}
#endif
default:
LOG(FATAL) << MXNET_GPU_NOT_ENABLED_ERROR;
}
Expand Down

0 comments on commit d863554

Please sign in to comment.