mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-08 14:02:58 +08:00
refactor: Update CFE_STATE
Refactors the CFE_STATE to align with the latest specification. Related-To: NEO-13147 Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1135c1033e
commit
2951f8a411
@@ -217,7 +217,12 @@ endif()
|
||||
if(SUPPORT_XE2_AND_LATER)
|
||||
list(APPEND NEO_CORE_HELPERS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/gfx_core_helper_xe2_and_later.inl
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/preamble_xe2_hpg_and_later.inl
|
||||
)
|
||||
endif()
|
||||
|
||||
if(SUPPORT_XE2_CORE OR SUPPORT_XE_2HPG_CORE)
|
||||
list(APPEND NEO_CORE_HELPERS
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/preamble_xe2_hpg.inl
|
||||
)
|
||||
endif()
|
||||
|
||||
|
||||
@@ -50,6 +50,9 @@ void PreambleHelper<Family>::appendProgramVFEState(const RootDeviceEnvironment &
|
||||
if (debugManager.flags.CFEStackIDControl.get() != -1) {
|
||||
command->setStackIdControl(static_cast<STACK_ID_CONTROL>(debugManager.flags.CFEStackIDControl.get()));
|
||||
}
|
||||
if (debugManager.flags.CFELargeGRFThreadAdjustDisable.get() != -1) {
|
||||
command->setLargeGRFThreadAdjustDisable(debugManager.flags.CFELargeGRFThreadAdjustDisable.get());
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace NEO
|
||||
@@ -69,9 +69,6 @@ void PreambleHelper<GfxFamily>::programVfeState(void *pVfeState,
|
||||
if (debugManager.flags.OverDispatchControl.get() != -1) {
|
||||
cmd.setOverDispatchControl(static_cast<typename CFE_STATE::OVER_DISPATCH_CONTROL>(debugManager.flags.OverDispatchControl.get()));
|
||||
}
|
||||
if (debugManager.flags.CFELargeGRFThreadAdjustDisable.get() != -1) {
|
||||
cmd.setLargeGRFThreadAdjustDisable(debugManager.flags.CFELargeGRFThreadAdjustDisable.get());
|
||||
}
|
||||
|
||||
*cfeState = cmd;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user