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.
30 lines
824 B
30 lines
824 B
13 years ago
|
#ifndef __DEVICE_GPU_H__
|
||
|
#define __DEVICE_GPU_H__
|
||
|
|
||
|
#include "miner.h"
|
||
|
|
||
|
|
||
|
extern char *print_ndevs_and_exit(int *ndevs);
|
||
|
extern void *reinit_gpu(void *userdata);
|
||
|
extern char *set_gpu_engine(char *arg);
|
||
|
extern char *set_gpu_fan(char *arg);
|
||
|
extern char *set_gpu_memclock(char *arg);
|
||
|
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);
|
||
|
extern char *set_intensity(char *arg);
|
||
13 years ago
|
extern char *set_vector(char *arg);
|
||
13 years ago
|
extern char *set_worksize(char *arg);
|
||
13 years ago
|
extern char *set_kernel(char *arg);
|
||
13 years ago
|
void manage_gpu(void);
|
||
|
extern void pause_dynamic_threads(int gpu);
|
||
|
|
||
|
extern bool have_opencl;
|
||
13 years ago
|
extern int opt_platform_id;
|
||
13 years ago
|
|
||
|
extern struct device_api opencl_api;
|
||
|
|
||
|
#endif /* __DEVICE_GPU_H__ */
|