You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
376 B
C
12 lines
376 B
C
#include <nvml.h>
|
|
|
|
extern nvmlReturn_t result;
|
|
extern unsigned int nvidiaTemp, processSamplesCount, *vgpuInstanceSamplesCount, nvidiaCoreClock, nvidiaMemClock;
|
|
extern nvmlDevice_t nvidiaDevice;
|
|
extern struct nvmlUtilization_st nvidiaUtilization;
|
|
extern struct nvmlMemory_st nvidiaMemory;
|
|
extern bool nvmlSuccess;
|
|
|
|
bool checkNVML(const char* pciBusId);
|
|
bool getNVMLInfo(void);
|