Refactor: dont use global getters for product/gfxcore helper in preamble helpers

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2022-12-20 15:56:50 +00:00
committed by Compute-Runtime-Automation
parent 5dbcb4b4d5
commit c8a9cc9518
21 changed files with 60 additions and 56 deletions

View File

@@ -20,7 +20,7 @@ namespace NEO {
using CFE_STATE = typename Family::CFE_STATE;
template <>
void PreambleHelper<Family>::appendProgramVFEState(const HardwareInfo &hwInfo, const StreamProperties &streamProperties, void *cmd) {
void PreambleHelper<Family>::appendProgramVFEState(const RootDeviceEnvironment &rootDeviceEnvironment, const StreamProperties &streamProperties, void *cmd) {
auto command = static_cast<CFE_STATE *>(cmd);
command->setComputeOverdispatchDisable(streamProperties.frontEndState.disableOverdispatch.value == 1);