mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
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:
committed by
Compute-Runtime-Automation
parent
2f6d1c5f90
commit
77b39ea3df
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user