Reduced number of NVML function calls

This commit is contained in:
2025-02-21 10:59:31 -08:00
parent 46eb773820
commit b7d22ed9ac
5 changed files with 16 additions and 17 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ static struct clock_reason clock_reason_names[] =
};
void init_nvml();
int get_nvml_handle(nvmlDevice_t *device, struct card_info *card);
void get_nvml_handle(struct card_info *card);
void print_nvml_clock_reason(int compact, struct card_info *card);
unsigned int get_nvml_temp(struct card_info *card);
unsigned long long get_nvml_clock_reasons(struct card_info *card);