|
@@ -4,10 +4,10 @@
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
|
#include <stdbool.h>
|
|
|
|
|
|
|
|
-bool adl_active;
|
|
|
|
|
-bool opt_reorder;
|
|
|
|
|
-const int opt_targettemp;
|
|
|
|
|
-const int opt_overheattemp;
|
|
|
|
|
|
|
+extern bool adl_active;
|
|
|
|
|
+extern bool opt_reorder;
|
|
|
|
|
+extern const int opt_targettemp;
|
|
|
|
|
+extern const int opt_overheattemp;
|
|
|
void init_adl(int nDevs);
|
|
void init_adl(int nDevs);
|
|
|
float gpu_temp(int gpu);
|
|
float gpu_temp(int gpu);
|
|
|
int gpu_engineclock(int gpu);
|
|
int gpu_engineclock(int gpu);
|