mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 00:58:39 +08:00
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:
committed by
Compute-Runtime-Automation
parent
b5692c04cd
commit
004d3e3416
@@ -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))) &&
|
||||
|
||||
Reference in New Issue
Block a user