Support cache type in cache info
Add the cache type to the cache info. Change-Id: Ic13ca9640b65d2b414eeebe7b884530f2036aac8
这个提交包含在:
1 父节点
3e3a233e49
当前提交
56b246cc3c
5 个文件已更改
+48
-3
没有与搜索条件相匹配的文件
@@ -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
|
||||
|
||||
在新工单中引用
屏蔽一个用户