mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 00:58:39 +08:00
fix: Add IOH alignment to estimation
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7ffadf0d6c
commit
bbeb5224d8
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user