Added support for reading VRAM and HotSpot temperatures.
This commit is contained in:
@@ -10,14 +10,6 @@ void init_nvml()
|
||||
printf("Could not init NVML: %s\n", nvmlErrorString(result));
|
||||
}
|
||||
|
||||
void print_nvml_temp(int compact, struct card_info *card)
|
||||
{
|
||||
if (compact)
|
||||
printf(" %3d", get_nvml_temp(card));
|
||||
else
|
||||
printf("GPU1: %+d°C\n", get_nvml_temp(card));
|
||||
}
|
||||
|
||||
void print_nvml_clock_reason(int compact, struct card_info *card)
|
||||
{
|
||||
unsigned long long reasons = get_nvml_clock_reasons(card);
|
||||
|
||||
Reference in New Issue
Block a user