mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
Revert "refactor: Store AIL in root device environment"
This reverts commit 02ef252b7d.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c68f55e4f6
commit
27000c06cb
@@ -207,17 +207,6 @@ TEST(RootDeviceEnvironment, givenHardwareInfoAndDebugVariableNodeOrdinalEqualsCc
|
||||
EXPECT_TRUE(hwInfo->featureTable.flags.ftrRcsNode);
|
||||
}
|
||||
|
||||
TEST(RootDeviceEnvironment, givenEnableAILFlagSetToFalseWhenInitializingAILConfigurationThenSkipInitializingIt) {
|
||||
DebugManagerStateRestore restorer;
|
||||
DebugManager.flags.EnableAIL.set(false);
|
||||
|
||||
MockExecutionEnvironment executionEnvironment;
|
||||
auto rootDeviceEnvironment = static_cast<MockRootDeviceEnvironment *>(executionEnvironment.rootDeviceEnvironments[0].get());
|
||||
ASSERT_EQ(nullptr, rootDeviceEnvironment->ailConfiguration);
|
||||
rootDeviceEnvironment->initAilConfiguration();
|
||||
EXPECT_EQ(nullptr, rootDeviceEnvironment->ailConfiguration);
|
||||
}
|
||||
|
||||
TEST(ExecutionEnvironment, givenExecutionEnvironmentWhenInitializeMemoryManagerIsCalledThenLocalMemorySupportedInMemoryManagerHasCorrectValue) {
|
||||
const HardwareInfo *hwInfo = defaultHwInfo.get();
|
||||
auto device = std::unique_ptr<Device>(MockDevice::createWithNewExecutionEnvironment<MockDevice>(hwInfo));
|
||||
|
||||
Reference in New Issue
Block a user