mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-22 20:44:19 +00:00
Remove last references to opt_nogpu.
This commit is contained in:
parent
2799c237c3
commit
744e819117
@ -95,7 +95,6 @@ int opt_dynamic_interval = 7;
|
|||||||
int opt_g_threads = -1;
|
int opt_g_threads = -1;
|
||||||
int gpu_threads;
|
int gpu_threads;
|
||||||
bool opt_restart = true;
|
bool opt_restart = true;
|
||||||
bool opt_nogpu;
|
|
||||||
|
|
||||||
struct list_head scan_devices;
|
struct list_head scan_devices;
|
||||||
static bool devices_enabled[MAX_DEVICES];
|
static bool devices_enabled[MAX_DEVICES];
|
||||||
|
@ -1012,8 +1012,6 @@ static void opencl_detect(bool hotplug)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
if (opt_nogpu)
|
|
||||||
return;
|
|
||||||
nDevs = clDevicesNum();
|
nDevs = clDevicesNum();
|
||||||
if (nDevs < 0) {
|
if (nDevs < 0) {
|
||||||
applog(LOG_ERR, "clDevicesNum returned error, no GPUs usable");
|
applog(LOG_ERR, "clDevicesNum returned error, no GPUs usable");
|
||||||
|
1
miner.h
1
miner.h
@ -969,7 +969,6 @@ extern bool opt_api_listen;
|
|||||||
extern bool opt_api_network;
|
extern bool opt_api_network;
|
||||||
extern bool opt_delaynet;
|
extern bool opt_delaynet;
|
||||||
extern bool opt_restart;
|
extern bool opt_restart;
|
||||||
extern bool opt_nogpu;
|
|
||||||
extern bool opt_worktime;
|
extern bool opt_worktime;
|
||||||
extern int swork_id;
|
extern int swork_id;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user