mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 18:14:20 +00:00
Forgot to set total_devices for the purposes of finding a positive active_device.
This commit is contained in:
parent
579bd42919
commit
34ecc59f4d
1
main.c
1
main.c
@ -2119,6 +2119,7 @@ int main (int argc, char *argv[])
|
|||||||
gpu_threads = nDevs * opt_g_threads;
|
gpu_threads = nDevs * opt_g_threads;
|
||||||
for (i = 0; i < nDevs; i++)
|
for (i = 0; i < nDevs; i++)
|
||||||
gpu_devices[i] = true;
|
gpu_devices[i] = true;
|
||||||
|
total_devices = nDevs;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!gpu_threads && !forced_n_threads) {
|
if (!gpu_threads && !forced_n_threads) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user