Fixes when compiling with both NVML and DCGM.
NVML temp code updated (driver version ~555 and up)
This commit is contained in:
@@ -36,6 +36,12 @@ struct card_info {
|
||||
void *nvml_device; /* Pointer to nvmlDevice_t for use in NVML calls */
|
||||
};
|
||||
|
||||
struct clock_reason {
|
||||
unsigned long long mask;
|
||||
char *short_name;
|
||||
char *long_name;
|
||||
};
|
||||
|
||||
unsigned short read_pci_id(char *device_path, char *field);
|
||||
char *read_nvidia_pci_address(char *device_path);
|
||||
void mmap_bar0(struct card_info *card);
|
||||
|
||||
Reference in New Issue
Block a user