2014-04-03 16:12:35 +00:00
|
|
|
#ifndef DEVICE_GPU_H
|
|
|
|
#define DEVICE_GPU_H
|
2012-01-30 22:11:39 +00:00
|
|
|
|
|
|
|
#include "miner.h"
|
|
|
|
|
|
|
|
|
2013-03-13 12:24:34 +00:00
|
|
|
extern void print_ndevs(int *ndevs);
|
2012-01-30 22:11:39 +00:00
|
|
|
extern void *reinit_gpu(void *userdata);
|
2012-04-23 07:40:47 +00:00
|
|
|
extern char *set_gpu_map(char *arg);
|
2014-05-28 23:08:57 +00:00
|
|
|
extern char *set_gpu_threads(const char *arg);
|
|
|
|
extern char *set_gpu_engine(const char *arg);
|
2014-06-04 22:00:15 +00:00
|
|
|
extern char *set_gpu_fan(const char *arg);
|
2014-05-28 23:08:57 +00:00
|
|
|
extern char *set_gpu_memclock(const char *arg);
|
2012-01-30 22:11:39 +00:00
|
|
|
extern char *set_gpu_memdiff(char *arg);
|
|
|
|
extern char *set_gpu_powertune(char *arg);
|
|
|
|
extern char *set_gpu_vddc(char *arg);
|
|
|
|
extern char *set_temp_overheat(char *arg);
|
|
|
|
extern char *set_temp_target(char *arg);
|
2014-05-28 23:08:57 +00:00
|
|
|
extern char *set_intensity(const char *arg);
|
|
|
|
extern char *set_xintensity(const char *arg);
|
|
|
|
extern char *set_rawintensity(const char *arg);
|
2012-02-22 05:54:06 +00:00
|
|
|
extern char *set_vector(char *arg);
|
2014-11-09 23:42:33 +00:00
|
|
|
extern char *set_worksize(const char *arg);
|
2012-07-24 10:27:37 +00:00
|
|
|
extern char *set_shaders(char *arg);
|
2012-07-21 07:31:06 +00:00
|
|
|
extern char *set_lookup_gap(char *arg);
|
2014-05-28 23:08:57 +00:00
|
|
|
extern char *set_thread_concurrency(const char *arg);
|
2012-01-30 22:11:39 +00:00
|
|
|
void manage_gpu(void);
|
|
|
|
extern void pause_dynamic_threads(int gpu);
|
|
|
|
|
2012-02-04 13:22:47 +00:00
|
|
|
extern int opt_platform_id;
|
2012-01-30 22:11:39 +00:00
|
|
|
|
2013-01-05 12:47:26 +00:00
|
|
|
extern struct device_drv opencl_drv;
|
2012-01-30 22:11:39 +00:00
|
|
|
|
2014-04-03 16:12:35 +00:00
|
|
|
#endif /* DEVICE_GPU_H */
|