ULT renaming: Gen-specific Slb tests

Related-To: NEO-2236

Change-Id: I209d081b06fba0a12994b233c0443de6e7b3fc80
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
This commit is contained in:
Adam Cetnerowski
2020-10-19 11:35:29 +02:00
committed by sys_ocldev
parent bdafc249f4
commit a21d3b8eac
4 changed files with 10 additions and 10 deletions

View File

@ -18,7 +18,7 @@ using namespace DeviceHostQueue;
typedef DeviceQueueHwTest Gen11DeviceQueueSlb; typedef DeviceQueueHwTest Gen11DeviceQueueSlb;
GEN11TEST_F(Gen11DeviceQueueSlb, expectedAllocationSize) { GEN11TEST_F(Gen11DeviceQueueSlb, WhenGettingSlbBufferSizeThenAllocationSizeIsCorrect) {
deviceQueue = createQueueObject(); deviceQueue = createQueueObject();
ASSERT_NE(deviceQueue, nullptr); ASSERT_NE(deviceQueue, nullptr);
@ -36,7 +36,7 @@ GEN11TEST_F(Gen11DeviceQueueSlb, expectedAllocationSize) {
delete deviceQueue; delete deviceQueue;
} }
GEN11TEST_F(Gen11DeviceQueueSlb, SlbCommandsWa) { GEN11TEST_F(Gen11DeviceQueueSlb, WhenApplyingSlbCommandsWaThenCorrectWaAreEnabled) {
auto mockDeviceQueueHw = std::make_unique<MockDeviceQueueHw<FamilyType>>(pContext, device, auto mockDeviceQueueHw = std::make_unique<MockDeviceQueueHw<FamilyType>>(pContext, device,
DeviceHostQueue::deviceQueueProperties::minimumProperties[0]); DeviceHostQueue::deviceQueueProperties::minimumProperties[0]);
EXPECT_FALSE(mockDeviceQueueHw->arbCheckWa); EXPECT_FALSE(mockDeviceQueueHw->arbCheckWa);

View File

@ -19,7 +19,7 @@ using namespace DeviceHostQueue;
typedef DeviceQueueHwTest Gen12LpDeviceQueueSlb; typedef DeviceQueueHwTest Gen12LpDeviceQueueSlb;
GEN12LPTEST_F(Gen12LpDeviceQueueSlb, expectedAllocationSize) { GEN12LPTEST_F(Gen12LpDeviceQueueSlb, WhenGettingSlbBufferSizeThenAllocationSizeIsCorrect) {
deviceQueue = createQueueObject(); deviceQueue = createQueueObject();
ASSERT_NE(deviceQueue, nullptr); ASSERT_NE(deviceQueue, nullptr);
@ -37,7 +37,7 @@ GEN12LPTEST_F(Gen12LpDeviceQueueSlb, expectedAllocationSize) {
delete deviceQueue; delete deviceQueue;
} }
GEN12LPTEST_F(Gen12LpDeviceQueueSlb, SlbCommandsWa) { GEN12LPTEST_F(Gen12LpDeviceQueueSlb, WhenApplyingSlbCommandsWaThenCorrectWaAreEnabled) {
auto mockDeviceQueueHw = new MockDeviceQueueHw<FamilyType>(pContext, device, auto mockDeviceQueueHw = new MockDeviceQueueHw<FamilyType>(pContext, device,
DeviceHostQueue::deviceQueueProperties::minimumProperties[0]); DeviceHostQueue::deviceQueueProperties::minimumProperties[0]);
EXPECT_FALSE(mockDeviceQueueHw->arbCheckWa); EXPECT_FALSE(mockDeviceQueueHw->arbCheckWa);

View File

@ -16,7 +16,7 @@ using namespace DeviceHostQueue;
typedef DeviceQueueHwTest Gen8DeviceQueueSlb; typedef DeviceQueueHwTest Gen8DeviceQueueSlb;
GEN8TEST_F(Gen8DeviceQueueSlb, expectedAllocationSize) { GEN8TEST_F(Gen8DeviceQueueSlb, WhenGettingSlbBufferSizeThenAllocationSizeIsCorrect) {
deviceQueue = createQueueObject(); deviceQueue = createQueueObject();
ASSERT_NE(deviceQueue, nullptr); ASSERT_NE(deviceQueue, nullptr);
@ -36,7 +36,7 @@ GEN8TEST_F(Gen8DeviceQueueSlb, expectedAllocationSize) {
delete deviceQueue; delete deviceQueue;
} }
GEN8TEST_F(Gen8DeviceQueueSlb, SlbCommandsWa) { GEN8TEST_F(Gen8DeviceQueueSlb, WhenApplyingSlbCommandsWaThenCorrectWaAreEnabled) {
auto mockDeviceQueueHw = new MockDeviceQueueHw<FamilyType>(pContext, device, auto mockDeviceQueueHw = new MockDeviceQueueHw<FamilyType>(pContext, device,
DeviceHostQueue::deviceQueueProperties::minimumProperties[0]); DeviceHostQueue::deviceQueueProperties::minimumProperties[0]);
@ -48,7 +48,7 @@ GEN8TEST_F(Gen8DeviceQueueSlb, SlbCommandsWa) {
delete mockDeviceQueueHw; delete mockDeviceQueueHw;
} }
GEN8TEST_F(Gen8DeviceQueueSlb, addProfilingEndcmds) { GEN8TEST_F(Gen8DeviceQueueSlb, WhenAddingProfilingEndCmdsThenPipeControlIsProgrammedCorrectly) {
using PIPE_CONTROL = typename FamilyType::PIPE_CONTROL; using PIPE_CONTROL = typename FamilyType::PIPE_CONTROL;
auto mockDeviceQueueHw = new MockDeviceQueueHw<FamilyType>(pContext, device, auto mockDeviceQueueHw = new MockDeviceQueueHw<FamilyType>(pContext, device,

View File

@ -17,7 +17,7 @@ using namespace DeviceHostQueue;
typedef DeviceQueueHwTest Gen9DeviceQueueSlb; typedef DeviceQueueHwTest Gen9DeviceQueueSlb;
GEN9TEST_F(Gen9DeviceQueueSlb, expectedAllocationSize) { GEN9TEST_F(Gen9DeviceQueueSlb, WhenGettingSlbBufferSizeThenAllocationSizeIsCorrect) {
deviceQueue = createQueueObject(); deviceQueue = createQueueObject();
ASSERT_NE(deviceQueue, nullptr); ASSERT_NE(deviceQueue, nullptr);
@ -40,7 +40,7 @@ GEN9TEST_F(Gen9DeviceQueueSlb, expectedAllocationSize) {
delete deviceQueue; delete deviceQueue;
} }
GEN9TEST_F(Gen9DeviceQueueSlb, SlbCommandsWa) { GEN9TEST_F(Gen9DeviceQueueSlb, WhenApplyingSlbCommandsWaThenCorrectWaAreEnabled) {
auto mockDeviceQueueHw = new MockDeviceQueueHw<FamilyType>(pContext, device, auto mockDeviceQueueHw = new MockDeviceQueueHw<FamilyType>(pContext, device,
DeviceHostQueue::deviceQueueProperties::minimumProperties[0]); DeviceHostQueue::deviceQueueProperties::minimumProperties[0]);
EXPECT_TRUE(mockDeviceQueueHw->arbCheckWa); EXPECT_TRUE(mockDeviceQueueHw->arbCheckWa);
@ -51,7 +51,7 @@ GEN9TEST_F(Gen9DeviceQueueSlb, SlbCommandsWa) {
delete mockDeviceQueueHw; delete mockDeviceQueueHw;
} }
GEN9TEST_F(Gen9DeviceQueueSlb, addProfilingEndcmds) { GEN9TEST_F(Gen9DeviceQueueSlb, WhenAddingProfilingEndCmdsThenPipeControlIsProgrammedCorrectly) {
using PIPE_CONTROL = typename FamilyType::PIPE_CONTROL; using PIPE_CONTROL = typename FamilyType::PIPE_CONTROL;
using MI_STORE_REGISTER_MEM = typename FamilyType::MI_STORE_REGISTER_MEM; using MI_STORE_REGISTER_MEM = typename FamilyType::MI_STORE_REGISTER_MEM;