Unify programming of ending commands in direct submission path

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz
2022-11-04 14:56:15 +00:00
committed by Compute-Runtime-Automation
parent 9f465426e8
commit 67af920281
12 changed files with 23 additions and 35 deletions

View File

@@ -791,7 +791,7 @@ void CommandQueueHw<gfxCoreFamily>::programStateSipEndWA(bool isStateSipRequired
return;
}
NEO::Device *neoDevice = this->device->getNEODevice();
NEO::PreemptionHelper::programStateSipEndWa<GfxFamily>(cmdStream, *neoDevice);
NEO::PreemptionHelper::programStateSipEndWa<GfxFamily>(cmdStream, neoDevice->getHardwareInfo(), neoDevice->getDebugger());
}
template <GFXCORE_FAMILY gfxCoreFamily>