refactor: don't use global ProductHelper getter 18

Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2023-01-30 00:09:45 +00:00
committed by Compute-Runtime-Automation
parent b5692c04cd
commit 004d3e3416
37 changed files with 166 additions and 157 deletions

View File

@@ -85,8 +85,8 @@ void Device::initializeCaps() {
deviceInfo.maxMemAllocSize = std::min(deviceInfo.globalMemSize, deviceInfo.maxMemAllocSize); // if globalMemSize was reduced for 32b
uint32_t subDeviceCount = gfxCoreHelper.getSubDevicesCount(&getHardwareInfo());
bool platformImplicitScaling = gfxCoreHelper.platformSupportsImplicitScaling(hwInfo);
auto &rootDeviceEnvironment = this->getRootDeviceEnvironment();
bool platformImplicitScaling = gfxCoreHelper.platformSupportsImplicitScaling(rootDeviceEnvironment);
if (((NEO::ImplicitScalingHelper::isImplicitScalingEnabled(
getDeviceBitfield(), platformImplicitScaling))) &&