refactor: use same paths when add command mi_semaphore_wait

Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
This commit is contained in:
Cencelewska, Katarzyna
2023-03-03 19:01:14 +00:00
committed by Compute-Runtime-Automation
parent 50da32ffb1
commit 3e116ea378
34 changed files with 147 additions and 155 deletions

View File

@@ -214,7 +214,7 @@ size_t EnqueueOperation<GfxFamily>::getTotalSizeRequiredCS(uint32_t eventType, c
if (DebugManager.flags.PauseOnEnqueue.get() != -1) {
expectedSizeCS += MemorySynchronizationCommands<GfxFamily>::getSizeForSingleBarrier(false) * 2;
expectedSizeCS += sizeof(typename GfxFamily::MI_SEMAPHORE_WAIT) * 2;
expectedSizeCS += NEO::EncodeSempahore<GfxFamily>::getSizeMiSemaphoreWait() * 2;
}
if (DebugManager.flags.GpuScratchRegWriteAfterWalker.get() != -1) {

View File

@@ -285,7 +285,6 @@ inline void HardwareInterface<GfxFamily>::dispatchDebugPauseCommands(
}
{
using MI_SEMAPHORE_WAIT = typename GfxFamily::MI_SEMAPHORE_WAIT;
using COMPARE_OPERATION = typename GfxFamily::MI_SEMAPHORE_WAIT::COMPARE_OPERATION;
EncodeSempahore<GfxFamily>::addMiSemaphoreWaitCommand(*commandStream,
address,