mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
fix: Add per product cache line size property
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
64acb65b08
commit
85e708819a
@@ -970,4 +970,12 @@ TEST(ProductHelperPreemptionSettingTest, whenSipClassIsForcedToBuiltinThenRequir
|
||||
hwInfo.capabilityTable.requiredPreemptionSurfaceSize = initialPreemptionSurfaceSize;
|
||||
MockProductHelper::setupPreemptionSurfaceSize(hwInfo, *executionEnvironment.rootDeviceEnvironments[0]);
|
||||
EXPECT_EQ(initialPreemptionSurfaceSize, hwInfo.capabilityTable.requiredPreemptionSurfaceSize);
|
||||
}
|
||||
|
||||
HWTEST2_F(ProductHelperTest, givenProductHelperWhenItsPreXe2ThenCacheLineSizeIs64Bytes, IsAtMostPVC) {
|
||||
EXPECT_EQ(productHelper->getCacheLineSize(), 64u);
|
||||
}
|
||||
|
||||
HWTEST2_F(ProductHelperTest, givenProductHelperWhenItsXe2PlusThenCacheLineSizeIs256Bytes, IsAtLeastBmg) {
|
||||
EXPECT_EQ(productHelper->getCacheLineSize(), 256u);
|
||||
}
|
||||
Reference in New Issue
Block a user