Browse Source

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

nfactor-troky
Con Kolivas 14 years ago
parent
commit
34ecc59f4d
  1. 1
      main.c

1
main.c

@ -2119,6 +2119,7 @@ int main (int argc, char *argv[]) @@ -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) {

Loading…
Cancel
Save