mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 22:43:00 +08:00
test: simplify IsAtLeastGen12lp and IsAtMostGen12lp matchers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7ce0ef9e82
commit
7e218a5f70
@@ -1794,7 +1794,7 @@ TEST(CommandQueue, givenBufferWhenMultiStorageIsNotSetThenDontRequireMigrations)
|
||||
}
|
||||
|
||||
using MultiRootDeviceCommandQueueTest = ::testing::Test;
|
||||
HWTEST2_F(MultiRootDeviceCommandQueueTest, givenBuffersInLocalMemoryWhenMultiGraphicsAllocationsRequireMigrationsThenMigrateTheAllocations, IsAtLeastGen12lp) {
|
||||
HWTEST2_F(MultiRootDeviceCommandQueueTest, givenBuffersInLocalMemoryWhenMultiGraphicsAllocationsRequireMigrationsThenMigrateTheAllocations, MatchAny) {
|
||||
MockDefaultContext context{true};
|
||||
ASSERT_TRUE(context.getNumDevices() > 1);
|
||||
ASSERT_TRUE(context.getRootDeviceIndices().size() > 1);
|
||||
|
||||
@@ -488,7 +488,7 @@ HWTEST_F(EnqueueReadImageTest, givenMultiRootDeviceImageWhenEnqueueReadImageIsCa
|
||||
pImage->release();
|
||||
}
|
||||
|
||||
HWTEST2_F(EnqueueReadImageTest, givenImageFromBufferThatRequiresMigrationWhenEnqueueReadImageThenBufferObjectIsTakenForMigration, IsAtLeastGen12lp) {
|
||||
HWTEST2_F(EnqueueReadImageTest, givenImageFromBufferThatRequiresMigrationWhenEnqueueReadImageThenBufferObjectIsTakenForMigration, MatchAny) {
|
||||
|
||||
MockDefaultContext context{true};
|
||||
|
||||
|
||||
@@ -851,7 +851,7 @@ HWTEST2_F(LocalWorkSizeTest, givenDispatchInfoWhenWorkSizeInfoIsCreatedThenTestE
|
||||
EXPECT_EQ(fusedMinWorkGroupSize, workSizeInfo.minWorkGroupSize);
|
||||
}
|
||||
|
||||
HWTEST2_F(LocalWorkSizeTest, givenDispatchInfoWhenWorkSizeInfoIsCreatedThenTestEuFusionFtrForcedByDebugManager, IsAtLeastGen12lp) {
|
||||
HWTEST2_F(LocalWorkSizeTest, givenDispatchInfoWhenWorkSizeInfoIsCreatedThenTestEuFusionFtrForcedByDebugManager, MatchAny) {
|
||||
DebugManagerStateRestore dbgRestore;
|
||||
MockClDevice device{new MockDevice};
|
||||
MockKernelWithInternals kernel(device);
|
||||
@@ -882,7 +882,7 @@ HWTEST2_F(LocalWorkSizeTest, givenDispatchInfoWhenWorkSizeInfoIsCreatedThenTestE
|
||||
}
|
||||
}
|
||||
|
||||
HWTEST2_F(LocalWorkSizeTest, givenWorkSizeInfoIsCreatedWithHwInfoThenTestEuFusionFtrForcedByDebugManager, IsAtLeastGen12lp) {
|
||||
HWTEST2_F(LocalWorkSizeTest, givenWorkSizeInfoIsCreatedWithHwInfoThenTestEuFusionFtrForcedByDebugManager, MatchAny) {
|
||||
DebugManagerStateRestore dbgRestore;
|
||||
|
||||
const uint32_t nonFusedMinWorkGroupSize = 36 * 16 / 32;
|
||||
|
||||
Reference in New Issue
Block a user