Do not force resetting SCM properties

Related-To: NEO-6728

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2022-03-16 12:48:08 +00:00
committed by Compute-Runtime-Automation
parent 08d1af76c3
commit 35d9d9e18c
2 changed files with 3 additions and 7 deletions

View File

@@ -50,9 +50,7 @@ inline void EncodeComputeMode<Family>::programComputeModeCommandWithSynchronizat
NEO::EncodeWA<Family>::addPipeControlPriorToNonPipelinedStateCommand(csr, args, hwInfo, isRcs);
}
StreamProperties streamProperties{};
streamProperties.stateComputeMode.setProperties(properties);
EncodeComputeMode<Family>::programComputeModeCommand(csr, streamProperties.stateComputeMode, hwInfo);
EncodeComputeMode<Family>::programComputeModeCommand(csr, properties, hwInfo);
if (hasSharedHandles) {
auto pc = csr.getSpaceForCmd<PIPE_CONTROL>();