mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Update 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
e1884fd38f
commit
31b7fcf653
@@ -418,12 +418,15 @@ template <GFXCORE_FAMILY gfxCoreFamily>
|
||||
void CommandQueueHw<gfxCoreFamily>::programFrontEnd(uint64_t scratchAddress, uint32_t perThreadScratchSpaceSize, NEO::LinearStream &commandStream) {
|
||||
using GfxFamily = typename NEO::GfxFamilyMapper<gfxCoreFamily>::GfxFamily;
|
||||
UNRECOVERABLE_IF(csr == nullptr);
|
||||
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,
|
||||
device->getHwInfo(),
|
||||
hwInfo,
|
||||
perThreadScratchSpaceSize,
|
||||
scratchAddress,
|
||||
device->getMaxNumHwThreads(),
|
||||
csr->getOsContext().getEngineType(),
|
||||
engineGroupType,
|
||||
NEO::AdditionalKernelExecInfo::NotApplicable,
|
||||
NEO::KernelExecutionType::NotApplicable);
|
||||
csr->setMediaVFEStateDirty(false);
|
||||
|
||||
Reference in New Issue
Block a user