Fixes when compiling with both NVML and DCGM.

NVML temp code updated (driver version ~555 and up)
This commit is contained in:
2026-09-30 01:18:05 -07:00
parent f6efb12fdb
commit fdf90ef790
6 changed files with 22 additions and 25 deletions
+1 -7
View File
@@ -26,13 +26,7 @@ static struct metric_reading metric_readings[] =
{DCGM_FI_PROF_DRAM_ACTIVE, "DRAM", "Memory BW Utilization"}
};
struct clock_reason {
unsigned long long mask;
char *short_name;
char *long_name;
};
static struct clock_reason clock_reason_names[] =
static struct clock_reason dcgm_clock_reason_names[] =
{
{DCGM_CLOCKS_EVENT_REASON_GPU_IDLE, "Idle", "GPU idle"},
{DCGM_CLOCKS_EVENT_REASON_CLOCKS_SETTING, "AppClk", "Application clocks"},