mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
fix: check for new submission before releasing TSP nodes in wait call.
Related-To: NEO-8318 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5833d65bc0
commit
f1fc273cfc
@@ -454,6 +454,8 @@ inline WaitStatus Event::wait(bool blocking, bool useQuickKmdSleep) {
|
||||
|
||||
DEBUG_BREAK_IF(this->taskLevel == CompletionStamp::notReady && this->executionStatus >= 0);
|
||||
|
||||
TakeOwnershipWrapper<CommandQueue> queueOwnership(*cmdQueue);
|
||||
|
||||
bool checkQueueCompletionForPostSyncOperations = !(waitedOnTimestamps && !cmdQueue->isOOQEnabled() &&
|
||||
(this->timestampPacketContainer->peekNodes() == cmdQueue->getTimestampPacketContainer()->peekNodes()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user