mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
fix: bcs enqueue after marker properly waits
For an example sequence of: IOQ_1 -> enqueue copy, enqueue marker with waitlist (out event) IOQ_2 -> enqueue marker with waitlist (event), enqueue copy Add missing synchronization between the enqueue copies Related-To: NEO-11694 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
05eb4e7a0d
commit
bdeccab7aa
@@ -1461,7 +1461,7 @@ cl_int CommandQueueHw<GfxFamily>::enqueueBlit(const MultiDispatchInfo &multiDisp
|
||||
}
|
||||
|
||||
auto gpgpuSubmission = isGpgpuSubmissionForBcsRequired(blockQueue, timestampPacketDependencies);
|
||||
if (isCacheFlushForBcsRequired() && gpgpuSubmission) {
|
||||
if ((isCacheFlushForBcsRequired() || NEO::EnqueueProperties::Operation::dependencyResolveOnGpu == latestSentEnqueueType) && gpgpuSubmission) {
|
||||
timestampPacketDependencies.cacheFlushNodes.add(allocator->getTag());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user