Remove use of setLastQueuedCommand
Change-Id: I07bf54dc09905d9a17b059a476df9282eb6f1f51
[ROCm/clr commit: a838e6e108]
Этот коммит содержится в:
коммит произвёл
Christophe Paquot
родитель
5b974209a0
Коммит
d8042a02ad
@@ -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();
|
||||
|
||||
Ссылка в новой задаче
Block a user