mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Revert "fix: Make debug area resident for subdevices"
This reverts commit ac1ba09911.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c679e7df30
commit
216c11643a
@@ -216,22 +216,6 @@ HWTEST_F(L0DebuggerTest, givenDebuggerWhenCreatedThenModuleHeapDebugAreaIsCreate
|
||||
neoDevice->getMemoryManager()->freeGraphicsMemory(allocation);
|
||||
}
|
||||
|
||||
HWTEST_F(L0DebuggerTest, givenDebuggerCreatedWhenSubdevicesExistThenModuleHeapDebugAreaIsResidentForSubDevices) {
|
||||
DebugManagerStateRestore restorer;
|
||||
constexpr auto numSubDevices = 2;
|
||||
debugManager.flags.CreateMultipleSubDevices.set(numSubDevices);
|
||||
auto executionEnvironment = new NEO::ExecutionEnvironment;
|
||||
auto devices = NEO::DeviceFactory::createDevices(*executionEnvironment);
|
||||
auto neoDevice = devices[0].get();
|
||||
|
||||
auto memoryOperationsHandler = new NEO::MockMemoryOperations();
|
||||
memoryOperationsHandler->makeResidentCalledCount = 0;
|
||||
neoDevice->getExecutionEnvironment()->rootDeviceEnvironments[0]->memoryOperationsInterface.reset(memoryOperationsHandler);
|
||||
auto debugger = std::make_unique<MockDebuggerL0Hw<FamilyType>>(neoDevice);
|
||||
|
||||
EXPECT_EQ((1 + numSubDevices), memoryOperationsHandler->makeResidentCalledCount);
|
||||
}
|
||||
|
||||
HWTEST_F(L0DebuggerTest, givenBindlessSipWhenModuleHeapDebugAreaIsCreatedThenReservedFieldIsSet) {
|
||||
DebugManagerStateRestore restorer;
|
||||
NEO::debugManager.flags.UseBindlessDebugSip.set(1);
|
||||
|
||||
Reference in New Issue
Block a user