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
+2
View File
@@ -475,6 +475,8 @@ typedef struct {
uint32_t cache_size_kb; /* In KB */
uint32_t cache_level;
uint32_t flags; // amdsmi_cache_flags_type_t which is a bitmask
uint32_t max_num_cu_shared; /* Indicates how many Compute Units share this cache instance */
uint32_t num_cache_instance; /* total number of instance of this cache type */
uint32_t reserved[3];
} cache[AMDSMI_MAX_CACHE_TYPES];
uint32_t reserved[15];