ULT renaming: Gen-specific Device Capabilities tests

Related-To: NEO-2236

Change-Id: Ie499506585f929e73547e8f3f39aea2a16a77c48
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
Adam Cetnerowski
2020-10-26 14:57:52 +01:00
committed by sys_ocldev
parent b0e055ee3c
commit 2eea76e086
14 changed files with 33 additions and 33 deletions

View File

@ -14,16 +14,16 @@ using namespace NEO;
typedef Test<ClDeviceFixture> Gen11DeviceCaps;
GEN11TEST_F(Gen11DeviceCaps, defaultPreemptionMode) {
GEN11TEST_F(Gen11DeviceCaps, GivenDefaultWhenCheckingPreemptionModeThenMidThreadIsReturned) {
EXPECT_TRUE(PreemptionMode::MidThread == pDevice->getHardwareInfo().capabilityTable.defaultPreemptionMode);
}
GEN11TEST_F(Gen11DeviceCaps, profilingTimerResolution) {
GEN11TEST_F(Gen11DeviceCaps, WhenCheckingProfilingTimerResolutionThenCorrectResolutionIsReturned) {
const auto &caps = pDevice->getDeviceInfo();
EXPECT_EQ(83u, caps.outProfilingTimerResolution);
}
GEN11TEST_F(Gen11DeviceCaps, kmdNotifyMechanism) {
GEN11TEST_F(Gen11DeviceCaps, GivenWhenGettingKmdNotifyPropertiesThenItIsDisabled) {
EXPECT_FALSE(pDevice->getHardwareInfo().capabilityTable.kmdNotifyProperties.enableKmdNotify);
EXPECT_EQ(0, pDevice->getHardwareInfo().capabilityTable.kmdNotifyProperties.delayKmdNotifyMicroseconds);
EXPECT_FALSE(pDevice->getHardwareInfo().capabilityTable.kmdNotifyProperties.enableQuickKmdSleep);
@ -32,7 +32,7 @@ GEN11TEST_F(Gen11DeviceCaps, kmdNotifyMechanism) {
EXPECT_EQ(0, pDevice->getHardwareInfo().capabilityTable.kmdNotifyProperties.delayQuickKmdSleepForSporadicWaitsMicroseconds);
}
GEN11TEST_F(Gen11DeviceCaps, compression) {
GEN11TEST_F(Gen11DeviceCaps, WhenCheckingCompressionThenItIsDisabled) {
EXPECT_FALSE(pDevice->getHardwareInfo().capabilityTable.ftrRenderCompressedBuffers);
EXPECT_FALSE(pDevice->getHardwareInfo().capabilityTable.ftrRenderCompressedImages);
}