mirror of https://github.com/GOSTSec/sgminer
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
495 B
21 lines
495 B
#ifndef __ADL_H__ |
|
#define __ADL_H__ |
|
bool adl_active; |
|
#ifdef HAVE_ADL |
|
void init_adl(int nDevs); |
|
float gpu_temp(int gpu); |
|
int gpu_engineclock(int gpu); |
|
int gpu_memclock(int gpu); |
|
float gpu_vddc(int gpu); |
|
int gpu_activity(int gpu); |
|
int gpu_fanspeed(int gpu); |
|
void change_gpusettings(int gpu); |
|
void gpu_autotune(int gpu); |
|
void clear_adl(void); |
|
#else /* HAVE_ADL */ |
|
void init_adl(int nDevs) {} |
|
void change_gpusettings(int gpu) { } |
|
void gpu_autotune(int gpu) { } |
|
void clear_adl(void) {} |
|
#endif |
|
#endif
|
|
|