mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
refactor: use same paths when add command mi_semaphore_wait
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
50da32ffb1
commit
3e116ea378
@@ -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) {
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user