Remove use of setLastQueuedCommand

Change-Id: I07bf54dc09905d9a17b059a476df9282eb6f1f51
Dieser Commit ist enthalten in:
Christophe Paquot
2020-07-10 08:44:36 -07:00
committet von Christophe Paquot
Ursprung 920e6597b2
Commit 0d83b385d1
-3
Datei anzeigen
@@ -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();