mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
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:
committed by
Compute-Runtime-Automation
parent
4cd201dcd0
commit
8086c2a96f
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user