From f48d678382ab232ac91e2d013f68fee23d08f9b4 Mon Sep 17 00:00:00 2001 From: Christophe Paquot Date: Fri, 10 Jul 2020 08:44:36 -0700 Subject: [PATCH] Remove use of setLastQueuedCommand Change-Id: I07bf54dc09905d9a17b059a476df9282eb6f1f51 [ROCm/hip commit: 0d83b385d1b08aac5afb67163c515a57b0731fb4] --- projects/hip/rocclr/hip_context.cpp | 3 --- 1 file changed, 3 deletions(-) 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();