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
@@ -2,13 +2,7 @@
#include "evga-card.h"
struct clock_reason {
unsigned long long mask;
char *short_name;
char *long_name;
};
static struct clock_reason clock_reason_names[] =
static struct clock_reason nvml_clock_reason_names[] =
{
{nvmlClocksEventReasonGpuIdle, "Idle", "GPU idle"},
{nvmlClocksEventReasonApplicationsClocksSetting, "AppClk", "Application clocks"},