Support cache type in cache info
Add the cache type to the cache info. Change-Id: Ic13ca9640b65d2b414eeebe7b884530f2036aac8
This commit is contained in:
committed by
Maisam Arif
parent
3e3a233e49
commit
56b246cc3c
@@ -312,9 +312,10 @@ int main() {
|
||||
CHK_AMDSMI_RET(ret)
|
||||
printf(" Output of amdsmi_get_gpu_cache_info:\n");
|
||||
for (unsigned int i = 0 ; i < cache_info.num_cache_types; i++) {
|
||||
printf("\tCache Level: %d, Cache Size: %d KB\n",
|
||||
printf("\tCache Level: %d, Cache Size: %d KB, Cache type: 0x%x\n",
|
||||
cache_info.cache[i].cache_level,
|
||||
cache_info.cache[i].cache_size_kb);
|
||||
cache_info.cache[i].cache_size_kb,
|
||||
cache_info.cache[i].flags);
|
||||
}
|
||||
|
||||
// Get power measure
|
||||
|
||||
Reference in New Issue
Block a user