Remove use of setLastQueuedCommand

Change-Id: I07bf54dc09905d9a17b059a476df9282eb6f1f51


[ROCm/hip commit: 0d83b385d1]
This commit is contained in:
Christophe Paquot authored and Christophe Paquot committed 2020-07-17 11:45:25 -04:00
1 parent b047945cd6
commit f48d678382
1 file changed
-3
-3
View File
@@ -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();