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.
[ROCm/clr commit: 18d191fd1d]
Dieser Commit ist enthalten in:
@@ -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);
|
||||
}
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren