mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-09 14:33:04 +08:00
fix: Fix number of channels and bus width calculation
Take number of memory channels from telemetry instead of using hard coded value and calculate memory bus width based on the formula busWidth = numChannels * 32 Related-To: NEO-15629 Signed-off-by: Aviral Nigam <aviral.nigam@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
e88d1287c0
commit
c1c1f1f0af
@@ -184,7 +184,7 @@ TEST(DrmSystemInfoTest, givenSystemInfoCreatedFromDeviceBlobWhenQueryingSpecific
|
||||
EXPECT_EQ(0x24u, systemInfo.getSlmSizePerDss());
|
||||
EXPECT_EQ(0x25u, systemInfo.getCsrSizeInMb());
|
||||
EXPECT_EQ(0x04u, systemInfo.getNumHbmStacksPerTile());
|
||||
EXPECT_EQ(0x08u, systemInfo.getNumChannlesPerHbmStack());
|
||||
EXPECT_EQ(0x08u, systemInfo.getNumChannelsPerHbmStack());
|
||||
EXPECT_EQ(0x02u, systemInfo.getNumRegions());
|
||||
EXPECT_EQ(0x02u, systemInfo.getNumL3BankGroups());
|
||||
EXPECT_EQ(0x03u, systemInfo.getNumL3BanksPerGroup());
|
||||
|
||||
Reference in New Issue
Block a user