Skip to content

Commit 0236966

Browse files
committed
follow commits
1 parent 5398e1a commit 0236966

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

paddle/fluid/platform/device_context.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ class CudnnHolder {
180180
if (workspace_ != nullptr) {
181181
// Maybe someone is using the current workspace
182182
PADDLE_ENFORCE(cudaStreamSynchronize(*stream_));
183-
PADDLE_ENFORCE(cudaGetLastError());
184183
paddle::memory::Free(place_, workspace_);
185184
}
186185
workspace_ = new_workspace;

0 commit comments

Comments
 (0)