fix: Add IOH alignment to estimation

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
Lukasz Jobczyk
2024-07-08 11:50:30 +00:00
committed by Compute-Runtime-Automation
parent 7ffadf0d6c
commit bbeb5224d8
2 changed files with 2 additions and 2 deletions

View File

@@ -1385,7 +1385,7 @@ HWTEST_F(DispatchWalkerTest, WhenKernelRequiresImplicitArgsThenIohRequiresMoreSp
HardwareCommandsHelper<FamilyType>::getPerThreadDataSizeTotal(simdSize, grfSize, numGrf, numChannels, Math::computeTotalElementsCount(workGroupSize), false, rootDeviceEnvironment) +
ImplicitArgsHelper::getSizeForImplicitArgsPatching(kernelWithImplicitArgs.getImplicitArgs(), kernelWithImplicitArgs.getDescriptor(), false, rootDeviceEnvironment);
size = alignUp(size, MemoryConstants::cacheLineSize);
size = alignUp(size, pClDevice->getGfxCoreHelper().getIOHAlignment());
EXPECT_EQ(size, iohSizeWithImplicitArgs);
}
}