fix: Correctly flush DC when reuse heap

Related-To: NEO-8067

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2023-07-20 12:02:24 +00:00
committed by Compute-Runtime-Automation
parent 7cea7122c2
commit b06f605895
2 changed files with 7 additions and 1 deletions

View File

@@ -377,7 +377,7 @@ CompletionStamp CommandStreamReceiverHw<GfxFamily>::flushTask(
// for BatchedSubmissions it will be nooped and only last ppc in batch will be emitted.
levelClosed = true;
// if we guard with ppc, flush dc as well to speed up completion latency
if (dispatchFlags.guardCommandBufferWithPipeControl) {
if (dispatchFlags.guardCommandBufferWithPipeControl || this->heapStorageRequiresRecyclingTag) {
dispatchFlags.dcFlush = this->dcFlushSupport;
}
}