follow commits

fix-deadlinks-in-readme
fengjiayi 7 years ago
parent 5398e1a3a6
commit 0236966b68

@ -180,7 +180,6 @@ class CudnnHolder {
if (workspace_ != nullptr) { if (workspace_ != nullptr) {
// Maybe someone is using the current workspace // Maybe someone is using the current workspace
PADDLE_ENFORCE(cudaStreamSynchronize(*stream_)); PADDLE_ENFORCE(cudaStreamSynchronize(*stream_));
PADDLE_ENFORCE(cudaGetLastError());
paddle::memory::Free(place_, workspace_); paddle::memory::Free(place_, workspace_);
} }
workspace_ = new_workspace; workspace_ = new_workspace;

Loading…
Cancel
Save