Remove not needed debug variables.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
Michal Mrozek
2023-03-06 19:03:25 +00:00
committed by Compute-Runtime-Automation
parent 2282f26734
commit 5dda2dba61
4 changed files with 0 additions and 60 deletions

View File

@@ -968,16 +968,6 @@ bool DirectSubmissionHw<GfxFamily, Dispatcher>::dispatchCommandBuffer(BatchBuffe
cpuCachelineFlush(currentPosition, dispatchSize);
handleResidency();
if (DebugManager.flags.DirectSubmissionReadBackCommandBuffer.get() == 1) {
volatile auto cmdBufferStart = reinterpret_cast<uint32_t *>(batchBuffer.commandBufferAllocation->getUnderlyingBuffer());
reserved = *cmdBufferStart;
}
if (DebugManager.flags.DirectSubmissionReadBackRingBuffer.get() == 1) {
volatile auto ringBufferStart = reinterpret_cast<uint32_t *>(ringCommandStream.getSpace(0));
reserved = *ringBufferStart;
}
this->unblockGpu();
cpuCachelineFlush(semaphorePtr, MemoryConstants::cacheLineSize);