mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-25 05:24:02 +08:00
Move hwInfo to root device environment
Related-To: NEO-3857 Change-Id: Ic23077cad080a249457cec39462ca7407e75b227 Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ac0edb9a5d
commit
e9c576393e
@@ -53,7 +53,7 @@ bool RootDeviceEnvironment::initOsInterface(std::unique_ptr<HwDeviceId> &&hwDevi
|
||||
memoryOperationsInterface = std::make_unique<DrmMemoryOperationsHandler>();
|
||||
osInterface.reset(new OSInterface());
|
||||
osInterface->get()->setDrm(drm);
|
||||
auto hardwareInfo = executionEnvironment.getMutableHardwareInfo();
|
||||
auto hardwareInfo = getMutableHardwareInfo();
|
||||
HwInfoConfig *hwConfig = HwInfoConfig::get(hardwareInfo->platform.eProductFamily);
|
||||
if (hwConfig->configureHwInfo(hardwareInfo, hardwareInfo, osInterface.get())) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user