add memType and Memory channel support to systemInfo

use the updated systemInfo to acquire Memory Type.


Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
This commit is contained in:
Vilvaraj, T J Vivek
2021-06-30 22:11:05 +00:00
committed by Compute-Runtime-Automation
parent 31250b343f
commit c2ab7fcf70
4 changed files with 7 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ TEST(DrmSystemInfoTest, givenSystemInfoCreatedWhenQueryingSpecificAtrributesThen
EXPECT_EQ(0u, systemInfo.getL3CacheSizeInKb());
EXPECT_EQ(0u, systemInfo.getL3BankCount());
EXPECT_EQ(0u, systemInfo.getMemoryType());
EXPECT_EQ(0u, systemInfo.getMaxMemoryChannels());
EXPECT_EQ(0u, systemInfo.getNumThreadsPerEu());
EXPECT_EQ(0u, systemInfo.getMaxFillRate());
EXPECT_EQ(0u, systemInfo.getTotalVsThreads());