Delete redundant adjustNumberOfThreadsInThreadGroup method

Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
This commit is contained in:
Rafal Maziejuk
2023-01-30 12:34:11 +00:00
committed by Compute-Runtime-Automation
parent d7292a6b0d
commit 9080b0c109
8 changed files with 1 additions and 30 deletions

View File

@@ -248,18 +248,3 @@ HWTEST_F(CommandEncoderTests, givenDcFlushNotRequiredWhenGettingDcFlushValueThen
bool helperValue = MemorySynchronizationCommands<FamilyType>::getDcFlushEnable(requiredFlag, rootDeviceEnvironment);
EXPECT_FALSE(helperValue);
}
HWTEST_F(CommandEncoderTests, givenSimdSizeWhenCallingAdjustNumberOfThreadsInThreadGroupThenIddIsNotChanged) {
using INTERFACE_DESCRIPTOR_DATA = typename FamilyType::INTERFACE_DESCRIPTOR_DATA;
uint32_t simd = 1u;
uint32_t threadsPerThreadGroup = 1u;
uint32_t expectedThreadsPerThreadGroup = 1u;
INTERFACE_DESCRIPTOR_DATA interfaceDescriptor = FamilyType::cmdInitInterfaceDescriptorData;
interfaceDescriptor.setNumberOfThreadsInGpgpuThreadGroup(threadsPerThreadGroup);
EncodeDispatchKernel<FamilyType>::adjustNumberOfThreadsInThreadGroup(interfaceDescriptor, simd, threadsPerThreadGroup);
EXPECT_EQ(expectedThreadsPerThreadGroup, interfaceDescriptor.getNumberOfThreadsInGpgpuThreadGroup());
EXPECT_EQ(expectedThreadsPerThreadGroup, threadsPerThreadGroup);
}