feature: assign unique interrupt to queue

Related-To: NEO-8179

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2024-06-06 15:23:40 +00:00
committed by Compute-Runtime-Automation
parent 0ac1be7669
commit da9c009b88
62 changed files with 423 additions and 259 deletions

View File

@@ -107,7 +107,7 @@ TEST_F(WddmTests, whenProgramDebugIsEnabledAndCreatingContextWithInternalEngineT
executionEnvironment->setDebuggingMode(NEO::DebuggingMode::online);
wddm->init();
OsContextWin osContext(*wddm, 0, 5u, EngineDescriptorHelper::getDefaultDescriptor({aub_stream::EngineType::ENGINE_RCS, EngineUsage::internal}));
osContext.ensureContextInitialized();
osContext.ensureContextInitialized(false);
EXPECT_FALSE(osContext.isDebuggableContext());
}
@@ -116,7 +116,7 @@ TEST_F(WddmTests, WhenCallingInitializeContextWithContextCreateDisabledFlagEnabl
VariableBackup<std::unordered_map<std::string, std::string> *> mockableEnvValuesBackup(&IoFunctions::mockableEnvValues, &mockableEnvs);
init();
auto newContext = osContext.get();
EXPECT_TRUE(newContext->ensureContextInitialized());
EXPECT_TRUE(newContext->ensureContextInitialized(false));
EXPECT_EQ(0u, newContext->getWddmContextHandle());
}
@@ -878,7 +878,7 @@ struct WddmSkipResourceCleanupFixtureWithMockGdiDll : public GdiDllFixture, publ
auto &gfxCoreHelper = rootDeviceEnvironment->getHelper<GfxCoreHelper>();
auto engine = gfxCoreHelper.getGpgpuEngineInstances(*rootDeviceEnvironment)[0];
osContext = std::make_unique<OsContextWin>(*osInterface->getDriverModel()->as<Wddm>(), 0, 0u, EngineDescriptorHelper::getDefaultDescriptor(engine, preemptionMode));
osContext->ensureContextInitialized();
osContext->ensureContextInitialized(false);
}
void tearDown() {