Move clGfxCoreHelper ownership to rootDeviceEnv

Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2023-01-03 10:27:35 +00:00
committed by Compute-Runtime-Automation
parent 5ff0ff0997
commit 468d722efb
127 changed files with 440 additions and 393 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021-2022 Intel Corporation
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -33,7 +33,7 @@ class ImageInLocalMemoryTest : public testing::Test {
platformsImpl->clear();
auto executionEnvironment = constructPlatform()->peekExecutionEnvironment();
executionEnvironment->prepareRootDeviceEnvironments(1u);
executionEnvironment->rootDeviceEnvironments[0]->setHwInfo(&inputPlatformDevice);
executionEnvironment->rootDeviceEnvironments[0]->setHwInfoAndInitHelpers(&inputPlatformDevice);
executionEnvironment->rootDeviceEnvironments[0]->initGmm();
mockMemoryManager = new MockMemoryManagerFailFirstAllocation(true, *executionEnvironment);