Browse Source

Remove nDev limit in watchdog_thread

Can't work out why it was even there... so there could still be a reason
for it!
nfactor-troky
Paul Sheppard 13 years ago
parent
commit
6ed75c96cb
  1. 3
      cgminer.c

3
cgminer.c

@ -4352,9 +4352,6 @@ static void *watchdog_thread(void __maybe_unused *userdata)
if (cgpu->api->get_stats) if (cgpu->api->get_stats)
cgpu->api->get_stats(cgpu); 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; gpu = thr->cgpu->device_id;
denable = &cgpu->deven; denable = &cgpu->deven;
sprintf(dev_str, "%s%d", cgpu->api->name, gpu); sprintf(dev_str, "%s%d", cgpu->api->name, gpu);

Loading…
Cancel
Save