mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
fix: Avoiding races when modifying queue and Tag data
Related-To: NEO-8196 Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7e7eea9995
commit
c4a24d8f31
@@ -172,6 +172,7 @@ bool CommandQueueHw<Family>::waitForTimestamps(Range<CopyEngineState> copyEngine
|
||||
bool waited = false;
|
||||
|
||||
if (isWaitForTimestampsEnabled()) {
|
||||
TakeOwnershipWrapper<CommandQueue> queueOwnership(*this);
|
||||
waited = waitForTimestampsWithinContainer<TSPacketType>(mainContainer, getGpgpuCommandStreamReceiver(), status);
|
||||
|
||||
if (waited) {
|
||||
|
||||
Reference in New Issue
Block a user