Change state tracking interfaces to split properties update

Related-To: NEO-5055

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
Zbigniew Zdanowicz
2023-02-10 09:51:27 +00:00
committed by Compute-Runtime-Automation
parent 429be6b4cb
commit 98b60ba148
25 changed files with 603 additions and 156 deletions

View File

@@ -619,8 +619,8 @@ void CommandQueueHw<gfxCoreFamily>::setFrontEndStateProperties(CommandListExecut
auto isEngineInstanced = csr->getOsContext().isEngineInstanced();
auto &streamProperties = this->csr->getStreamProperties();
if (!frontEndTrackingEnabled()) {
streamProperties.frontEndState.setProperties(ctx.anyCommandListWithCooperativeKernels, ctx.anyCommandListRequiresDisabledEUFusion,
true, isEngineInstanced, this->device->getNEODevice()->getRootDeviceEnvironment());
streamProperties.frontEndState.setPropertiesAll(ctx.anyCommandListWithCooperativeKernels, ctx.anyCommandListRequiresDisabledEUFusion,
true, isEngineInstanced, this->device->getNEODevice()->getRootDeviceEnvironment());
ctx.frontEndStateDirty |= (streamProperties.frontEndState.isDirty() && !this->csr->getLogicalStateHelper());
} else {
ctx.engineInstanced = isEngineInstanced;