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

@@ -716,6 +716,7 @@ void testSysmanMemory(ze_device_handle_t &device) {
std::cout << "On Subdevice = " << memoryProperties.onSubdevice << std::endl;
std::cout << "Subdevice Id = " << memoryProperties.subdeviceId << std::endl;
std::cout << "Memory Size = " << memoryProperties.physicalSize << std::endl;
std::cout << "Number of channels = " << memoryProperties.numChannels << std::endl;
}
VALIDATECALL(zesMemoryGetState(handle, &memoryState));