performance: Disable ULLS if Power Hints are set to 100 (max)

Related-To: NEO-14763, HSD-16026432518

Signed-off-by: Arek G <arkadiusz.grubba@intel.com>
This commit is contained in:
Arek G
2025-05-09 17:58:55 +00:00
committed by Compute-Runtime-Automation
parent 197727c408
commit db84fc713c
5 changed files with 85 additions and 3 deletions

View File

@@ -533,6 +533,11 @@ TEST_F(ContextPowerSavingHintTest, givenCallToContextCreateWithoutPowerHintDescT
context->destroy();
}
TEST_F(ContextPowerSavingHintTest, givenOsContextPowerHintMaxAndZePowerSavingHintTypeMaxThenTheyAreEqualAndBothAre100) {
EXPECT_EQ(NEO::OsContext::getUmdPowerHintMax(), ZE_POWER_SAVING_HINT_TYPE_MAX);
EXPECT_EQ(NEO::OsContext::getUmdPowerHintMax(), 100u);
}
using ContextTest = Test<DeviceFixture>;
TEST_F(ContextTest, whenCreatingAndDestroyingContextThenSuccessIsReturned) {