Support max_num_cu_shared and num_cache_instance
Add above fields for cache info. Remove driver_date in CLI and
Remove the disable properties of cache.
Change-Id: I80672490908d9e32a149076cc37459fa56b8b0bf
[ROCm/amdsmi commit: 59b510de2b]
This commit is contained in:
committed by
Shuzhou Liu
parent
aa654175f4
commit
9dc60e00cb
@@ -316,6 +316,9 @@ int main() {
|
||||
cache_info.cache[i].cache_level,
|
||||
cache_info.cache[i].cache_size_kb,
|
||||
cache_info.cache[i].flags);
|
||||
printf("\tMax number CU shared: %d, Number of instances: %d\n",
|
||||
cache_info.cache[i].max_num_cu_shared,
|
||||
cache_info.cache[i].num_cache_instance);
|
||||
}
|
||||
|
||||
// Get power measure
|
||||
|
||||
Reference in New Issue
Block a user