diff --git a/projects/hip/rocclr/hip_context.cpp b/projects/hip/rocclr/hip_context.cpp index ef6a01928d..69fa7e7bbc 100755 --- a/projects/hip/rocclr/hip_context.cpp +++ b/projects/hip/rocclr/hip_context.cpp @@ -194,9 +194,6 @@ hipError_t hipCtxDestroy(hipCtx_t ctx) { HIP_RETURN(hipErrorInvalidValue); } - // Release last tracked command - hip::getNullStream()->setLastQueuedCommand(nullptr); - // Need to remove the ctx of calling thread if its the top one if (!g_ctxtStack.empty() && g_ctxtStack.top() == dev) { g_ctxtStack.pop();