Change macro in unit test

Resolves: NEO-6156

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
This commit is contained in:
Szymon Morek
2021-08-30 10:18:23 +00:00
committed by Compute-Runtime-Automation
parent 741fa13507
commit 32c524c8ea

View File

@@ -709,7 +709,9 @@ TEST(localWorkSizeTest, givenDispatchInfoWhenWorkSizeInfoIsCreatedThenItHasCorre
EXPECT_EQ(workSizeInfo.numThreadsPerSubSlice, threadsPerEu * euPerSubSlice);
}
TEST(localWorkSizeTest, givenDispatchInfoWhenWorkSizeInfoIsCreatedThenTestEuFusionFtr) {
using LocalWorkSizeTest = ::testing::Test;
HWTEST_F(LocalWorkSizeTest, givenDispatchInfoWhenWorkSizeInfoIsCreatedThenTestEuFusionFtr) {
MockClDevice device{new MockDevice};
MockKernelWithInternals kernel(device);
kernel.kernelInfo.kernelDescriptor.kernelAttributes.barrierCount = 1;
@@ -732,8 +734,6 @@ TEST(localWorkSizeTest, givenDispatchInfoWhenWorkSizeInfoIsCreatedThenTestEuFusi
}
}
using LocalWorkSizeTest = ::testing::Test;
HWTEST2_F(LocalWorkSizeTest, givenDispatchInfoWhenWorkSizeInfoIsCreatedThenTestEuFusionFtrForcedByDebugManager, IsAtLeastGen12lp) {
DebugManagerStateRestore dbgRestore;
MockClDevice device{new MockDevice};