mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-28 08:37:12 +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
@@ -34,6 +34,7 @@
|
||||
#include "level_zero/tools/source/metrics/metric.h"
|
||||
|
||||
#include "pipe_control_args.h"
|
||||
#include "stream_properties.h"
|
||||
|
||||
#include <limits>
|
||||
#include <thread>
|
||||
@@ -421,14 +422,15 @@ void CommandQueueHw<gfxCoreFamily>::programFrontEnd(uint64_t scratchAddress, uin
|
||||
auto &hwInfo = device->getHwInfo();
|
||||
auto &hwHelper = NEO::HwHelper::get(hwInfo.platform.eRenderCoreFamily);
|
||||
auto engineGroupType = hwHelper.getEngineGroupType(csr->getOsContext().getEngineType(), hwInfo);
|
||||
NEO::PreambleHelper<GfxFamily>::programVFEState(&commandStream,
|
||||
auto pVfeState = NEO::PreambleHelper<GfxFamily>::getSpaceForVfeState(&commandStream, hwInfo, engineGroupType);
|
||||
NEO::StreamProperties emptyProperties{};
|
||||
NEO::PreambleHelper<GfxFamily>::programVfeState(pVfeState,
|
||||
hwInfo,
|
||||
perThreadScratchSpaceSize,
|
||||
scratchAddress,
|
||||
device->getMaxNumHwThreads(),
|
||||
engineGroupType,
|
||||
NEO::AdditionalKernelExecInfo::NotApplicable,
|
||||
NEO::KernelExecutionType::NotApplicable);
|
||||
emptyProperties);
|
||||
csr->setMediaVFEStateDirty(false);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user