SWDEV-523824 - Fix data validation issue of rocFFT (#154)
Fix data validation issue of rocFFT when dynamic queue on. ReleaseHwQueue() can be called only when no command in HostQueue. The checking condition need be protected by lock.
Este cometimento está contido em:
cometido por
GitHub
ascendente
b006380ff6
cometimento
18d191fd1d
@@ -192,12 +192,10 @@ void HostQueue::finish(bool cpu_wait) {
|
||||
device_.removeFromActiveQueues(this);
|
||||
lastEnqueueCommand_->release();
|
||||
lastEnqueueCommand_ = nullptr;
|
||||
vdev()->ReleaseHwQueue(); // we can only release HwQueue when no commmand in quque.
|
||||
}
|
||||
}
|
||||
}
|
||||
// Release HW queue to the pool for dynamic management if enabled
|
||||
vdev()->ReleaseHwQueue();
|
||||
|
||||
command->release();
|
||||
ClPrint(LOG_DEBUG, LOG_CMD, "All commands finished for host queue : %p", this);
|
||||
}
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador