2014-04-03 19:12:35 +03:00
|
|
|
#ifndef DEVICE_GPU_H
|
|
|
|
#define DEVICE_GPU_H
|
2012-01-30 23:11:39 +01:00
|
|
|
|
|
|
|
#include "miner.h"
|
|
|
|
|
|
|
|
|
2013-03-13 23:24:34 +11:00
|
|
|
extern void print_ndevs(int *ndevs);
|
2012-01-30 23:11:39 +01:00
|
|
|
extern void *reinit_gpu(void *userdata);
|
2012-04-23 17:40:47 +10:00
|
|
|
extern char *set_gpu_map(char *arg);
|
2014-05-29 01:08:57 +02:00
|
|
|
extern char *set_gpu_threads(const char *arg);
|
|
|
|
extern char *set_gpu_engine(const char *arg);
|
2014-06-05 00:00:15 +02:00
|
|
|
extern char *set_gpu_fan(const char *arg);
|
2014-05-29 01:08:57 +02:00
|
|
|
extern char *set_gpu_memclock(const char *arg);
|
2012-01-30 23:11:39 +01: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-29 01:08:57 +02: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 16:54:06 +11:00
|
|
|
extern char *set_vector(char *arg);
|
2014-11-09 18:42:33 -05:00
|
|
|
extern char *set_worksize(const char *arg);
|
2012-07-24 20:27:37 +10:00
|
|
|
extern char *set_shaders(char *arg);
|
2012-07-21 17:31:06 +10:00
|
|
|
extern char *set_lookup_gap(char *arg);
|
2014-05-29 01:08:57 +02:00
|
|
|
extern char *set_thread_concurrency(const char *arg);
|
2012-01-30 23:11:39 +01:00
|
|
|
void manage_gpu(void);
|
|
|
|
extern void pause_dynamic_threads(int gpu);
|
|
|
|
|
2012-02-04 14:22:47 +01:00
|
|
|
extern int opt_platform_id;
|
2012-01-30 23:11:39 +01:00
|
|
|
|
2013-01-05 23:47:26 +11:00
|
|
|
extern struct device_drv opencl_drv;
|
2012-01-30 23:11:39 +01:00
|
|
|
|
2014-04-03 19:12:35 +03:00
|
|
|
#endif /* DEVICE_GPU_H */
|