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:
Bill(Shuzhou) Liu
2023-12-05 10:45:32 -06:00
committed by Shuzhou Liu
parent aa654175f4
commit 9dc60e00cb
9 changed files with 40 additions and 13 deletions
@@ -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