performance(ocl): limit flushes on resolve via pc

When resolving dependencies via pipecontrol skip hdc and untyped data
port cache flushes. Leave only command streamer stall.

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek
2024-08-29 15:50:57 +00:00
committed by Compute-Runtime-Automation
parent 1a8149e91c
commit 4552960e1f
2 changed files with 7 additions and 6 deletions

View File

@@ -245,8 +245,8 @@ cl_int CommandQueueHw<GfxFamily>::enqueueHandler(Surface **surfacesForResidency,
DEBUG_BREAK_IF(relaxedOrderingForGpgpuAllowed(1)); // IOQ has >=1 dependencies
PipeControlArgs args;
args.csStallOnly = true;
args.hdcPipelineFlush = true;
args.unTypedDataPortCacheFlush = true;
args.hdcPipelineFlush = false;
args.unTypedDataPortCacheFlush = false;
MemorySynchronizationCommands<GfxFamily>::addSingleBarrier(commandStream, args);
}