Correct Xe HPG slmSize to 128

Related-To: NEO-6993

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2022-05-23 18:25:38 +00:00
committed by Compute-Runtime-Automation
parent 8ff34fea29
commit 548f698722
2 changed files with 6 additions and 1 deletions

View File

@ -31,6 +31,10 @@ XE_HPG_CORETEST_F(XeHpgCoreDeviceCaps, givenXeHpgCoreWhenCheckingCoherencySuppor
EXPECT_FALSE(pDevice->getHardwareInfo().capabilityTable.ftrSupportsCoherency);
}
XE_HPG_CORETEST_F(XeHpgCoreDeviceCaps, givenHwInfoWhenSlmSizeIsRequiredThenReturnCorrectValue) {
EXPECT_EQ(128u, pDevice->getHardwareInfo().capabilityTable.slmSize);
}
XE_HPG_CORETEST_F(XeHpgCoreDeviceCaps, givenXeHpgCoreWhenCheckExtensionsThenDeviceDoesNotReportClKhrSubgroupsExtension) {
const auto &caps = pClDevice->getDeviceInfo();
@ -95,3 +99,4 @@ XE_HPG_CORETEST_F(XeHpgCoreDeviceCaps, givenDeviceThatHasHighNumberOfExecutionUn
HWTEST_EXCLUDE_PRODUCT(DeviceGetCapsTest, givenEnabledFtrPooledEuWhenCalculatingMaxEuPerSSThenDontIgnoreEuCountPerPoolMin, IGFX_XE_HPG_CORE);
HWTEST_EXCLUDE_PRODUCT(DeviceGetCapsTest, givenDeviceThatHasHighNumberOfExecutionUnitsWhenMaxWorkgroupSizeIsComputedItIsLimitedTo1024, IGFX_XE_HPG_CORE);
HWTEST_EXCLUDE_PRODUCT(XeHPAndLaterDeviceCapsTests, givenHwInfoWhenSlmSizeIsRequiredThenReturnCorrectValue, IGFX_XE_HPG_CORE);

View File

@ -53,7 +53,7 @@ const RuntimeCapabilityTable DG2::capabilityTable{
30, // clVersionSupport
CmdServicesMemTraceVersion::DeviceValues::Dg2, // aubDeviceId
0, // extraQuantityThreadsPerEU
64, // slmSize
128, // slmSize
sizeof(DG2::GRF), // grfSize
36u, // timestampValidBits
32u, // kernelTimestampValidBits