1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +00:00

Forgot to set total_devices for the purposes of finding a positive active_device.

This commit is contained in:
Con Kolivas 2011-07-15 08:56:52 +10:00
parent 579bd42919
commit 34ecc59f4d

1
main.c
View File

@ -2119,6 +2119,7 @@ int main (int argc, char *argv[])
gpu_threads = nDevs * opt_g_threads;
for (i = 0; i < nDevs; i++)
gpu_devices[i] = true;
total_devices = nDevs;
}
if (!gpu_threads && !forced_n_threads) {