mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-13 06:01:03 +00:00
Remove nDev limit in watchdog_thread
Can't work out why it was even there... so there could still be a reason for it!
This commit is contained in:
parent
fa3f357fc1
commit
6ed75c96cb
@ -4348,13 +4348,10 @@ static void *watchdog_thread(void __maybe_unused *userdata)
|
||||
enum dev_enable *denable;
|
||||
int gpu;
|
||||
char dev_str[8];
|
||||
|
||||
|
||||
if (cgpu->api->get_stats)
|
||||
cgpu->api->get_stats(cgpu);
|
||||
|
||||
/* Use only one thread per device to determine if the GPU is healthy */
|
||||
if (i >= nDevs)
|
||||
break;
|
||||
gpu = thr->cgpu->device_id;
|
||||
denable = &cgpu->deven;
|
||||
sprintf(dev_str, "%s%d", cgpu->api->name, gpu);
|
||||
|
Loading…
x
Reference in New Issue
Block a user