2011-09-03 00:53:35 +00:00
|
|
|
#ifndef __ADL_H__
|
|
|
|
#define __ADL_H__
|
2011-09-03 03:02:21 +00:00
|
|
|
bool adl_active;
|
2011-09-03 00:53:35 +00:00
|
|
|
#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);
|
2011-09-03 03:02:21 +00:00
|
|
|
void change_gpusettings(int gpu);
|
2011-09-03 00:53:35 +00:00
|
|
|
void clear_adl(void);
|
|
|
|
#else /* HAVE_ADL */
|
|
|
|
void init_adl(int nDevs) {}
|
2011-09-03 03:02:21 +00:00
|
|
|
void change_gpusettings(int gpu) { }
|
2011-09-03 00:53:35 +00:00
|
|
|
void clear_adl(void) {}
|
|
|
|
#endif
|
|
|
|
#endif
|