Move GmmHelper to RootDeviceEnvironment

Related-To: NEO-3691
Change-Id: I8afdf65f360acc5b9d7b47a728d1d185e5e3700b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2020-02-25 16:38:47 +01:00
committed by sys_ocldev
parent 55ab09e618
commit ec647dabe9
14 changed files with 35 additions and 44 deletions

View File

@@ -57,8 +57,7 @@ bool Device::createDeviceImpl() {
}
auto &hwHelper = HwHelper::get(hwInfo.platform.eRenderCoreFamily);
hwHelper.setupHardwareCapabilities(&this->hardwareCapabilities, hwInfo);
executionEnvironment->initGmm();
executionEnvironment->rootDeviceEnvironments[getRootDeviceIndex()]->initGmm();
if (!createEngines()) {
return false;