mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
Remove not needed debug variables.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2282f26734
commit
5dda2dba61
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user