Introduce StreamProperties

Split programVfeState function.

Related-To: NEO-4940, NEO-4574


Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2021-04-01 18:26:29 +00:00
committed by Compute-Runtime-Automation
parent 2f6d1c5f90
commit 77b39ea3df
13 changed files with 126 additions and 62 deletions

View File

@@ -11,6 +11,8 @@
#include "opencl/source/device_queue/device_queue_hw_base.inl"
#include "opencl/source/program/block_kernel_manager.h"
#include "stream_properties.h"
namespace NEO {
template <typename GfxFamily>
@@ -130,9 +132,10 @@ void DeviceQueueHw<GfxFamily>::addMediaStateClearCmds() {
addDcFlushToPipeControlWa(pipeControl);
PreambleHelper<GfxFamily>::programVFEState(&slbCS, device->getHardwareInfo(), 0u, 0, device->getSharedDeviceInfo().maxFrontEndThreads,
EngineGroupType::RenderCompute, AdditionalKernelExecInfo::NotApplicable,
KernelExecutionType::NotApplicable);
auto pVfeState = PreambleHelper<GfxFamily>::getSpaceForVfeState(&slbCS, device->getHardwareInfo(), EngineGroupType::RenderCompute);
StreamProperties emptyProperties{};
PreambleHelper<GfxFamily>::programVfeState(pVfeState, device->getHardwareInfo(), 0u, 0, device->getSharedDeviceInfo().maxFrontEndThreads,
AdditionalKernelExecInfo::NotApplicable, emptyProperties);
}
template <typename GfxFamily>