Add support to read gpu_metrics version 1.2

gpu_metrics version 1.2 provides atomic timestamp. Use this timestamp.

Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
Change-Id: I7a1a675f53b93718f34b1f2979173e9064e0ef93


[ROCm/amdsmi commit: 6b10a7761b]
Este commit está contenido en:
Harish Kasiviswanathan committed 2021-05-05 12:31:10 -04:00
1 padre 3c7b9cef95
commit 0e17236bc5
2 files changed
+40 -10

No files matched your search

@@ -834,6 +834,7 @@ struct metrics_table_header_t {
// The content version increments when gpu_metrics is extended with new and/or
// existing field sizes are changed.
#define RSMI_GPU_METRICS_API_CONTENT_VER_1 1
#define RSMI_GPU_METRICS_API_CONTENT_VER_2 2
// This should match NUM_HBM_INSTANCES
#define RSMI_NUM_HBM_INSTANCES 4