Revert "fix: check if aubCenter exists before using setCCSMode"

This reverts commit d670e66caa.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2025-07-05 03:11:52 +02:00
committed by Compute-Runtime-Automation
parent 4cd201dcd0
commit 8086c2a96f
2 changed files with 1 additions and 15 deletions

View File

@@ -660,18 +660,6 @@ TEST_F(DeviceTests, givenPreemptionModeWhenOverridePreemptionModeThenProperlySet
EXPECT_EQ(newPreemptionMode, device->getPreemptionMode());
}
TEST_F(DeviceTests, givenNullAubcenterThenAdjustCcsCountDoesNotThrow) {
auto hwInfo = *defaultHwInfo;
VariableBackup<UltHwConfig> backup(&ultHwConfig);
ultHwConfig.useMockedPrepareDeviceEnvironmentsFunc = false;
DebugManagerStateRestore restorer;
debugManager.flags.ZEX_NUMBER_OF_CCS.set("4");
MockExecutionEnvironment executionEnvironment(&hwInfo, false, 1u);
executionEnvironment.incRefInternal();
EXPECT_NO_THROW(executionEnvironment.adjustCcsCount());
}
HWCMDTEST_F(IGFX_XE_HP_CORE, DeviceTests, givenZexNumberOfCssEnvVariableDefinedForNonPvcWhenDeviceIsCreatedThenCreateDevicesWithProperCcsCount) {
VariableBackup<UltHwConfig> backup(&ultHwConfig);
ultHwConfig.useMockedPrepareDeviceEnvironmentsFunc = false;