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.
13 lines
386 B
C
13 lines
386 B
C
#include <stdbool.h>
|
|
#include <stdio.h>
|
|
#include <nvml.h>
|
|
|
|
extern nvmlReturn_t result;
|
|
extern unsigned int nvidiaTemp, processSamplesCount, lastSeenTimeStamp, *vgpuInstanceSamplesCount;
|
|
extern nvmlValueType_t *sampleValType;
|
|
extern nvmlDevice_t nvidiaDevice;
|
|
extern struct nvmlUtilization_st nvidiaUtilization;
|
|
extern bool nvmlSuccess;
|
|
|
|
bool checkNvidia(void);
|
|
void getNvidiaInfo(void); |