mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Update StreamProperties
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5e29dccddc
commit
b25c0e4fc0
@@ -1852,13 +1852,13 @@ void CommandListCoreFamily<gfxCoreFamily>::updateStreamProperties(Kernel &kernel
|
||||
using VFE_STATE_TYPE = typename GfxFamily::VFE_STATE_TYPE;
|
||||
|
||||
if (!containsAnyKernel) {
|
||||
requiredStreamState.frontEndState.setProperties(kernel.usesSyncBuffer(), device->getHwInfo());
|
||||
requiredStreamState.frontEndState.setProperties(kernel.usesSyncBuffer(), false, device->getHwInfo());
|
||||
finalStreamState = requiredStreamState;
|
||||
containsAnyKernel = true;
|
||||
}
|
||||
|
||||
auto &hwInfo = device->getHwInfo();
|
||||
finalStreamState.frontEndState.setProperties(kernel.usesSyncBuffer(), hwInfo);
|
||||
finalStreamState.frontEndState.setProperties(kernel.usesSyncBuffer(), false, hwInfo);
|
||||
if (finalStreamState.frontEndState.isDirty()) {
|
||||
auto pVfeStateAddress = NEO::PreambleHelper<GfxFamily>::getSpaceForVfeState(commandContainer.getCommandStream(), hwInfo, engineGroupType);
|
||||
auto pVfeState = new VFE_STATE_TYPE;
|
||||
|
||||
Reference in New Issue
Block a user