mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Move HardwareInfo ownership to ExecutionEnvironment [1/n]
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
b2aee82f41
commit
bb80d327c7
@@ -180,13 +180,13 @@ Drm *Drm::create(int32_t deviceOrdinal) {
|
||||
if (ret != 0) {
|
||||
// turbo patch not present, we are not on custom Kernel, switch to simplified Mocs selection
|
||||
// do this only for GEN9+
|
||||
if (device->pHwInfo->pPlatform->eRenderCoreFamily >= IGFX_GEN9_CORE) {
|
||||
if (device->pHwInfo->pPlatform.eRenderCoreFamily >= IGFX_GEN9_CORE) {
|
||||
drmObject->setSimplifiedMocsTableUsage(true);
|
||||
}
|
||||
printDebugString(DebugManager.flags.PrintDebugMessages.get(), stderr, "%s", "WARNING: Failed to request OCL Turbo Boost\n");
|
||||
}
|
||||
|
||||
if (HwHelper::get(device->pHwInfo->pPlatform->eRenderCoreFamily).getEnableLocalMemory(*device->pHwInfo)) {
|
||||
if (HwHelper::get(device->pHwInfo->pPlatform.eRenderCoreFamily).getEnableLocalMemory(*device->pHwInfo)) {
|
||||
drmObject->queryMemoryInfo();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user