From 34ecc59f4d872c05d54c7e4b10f980bd37503d48 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 15 Jul 2011 08:56:52 +1000 Subject: [PATCH] Forgot to set total_devices for the purposes of finding a positive active_device. --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index 477417c1..f8dc2424 100644 --- a/main.c +++ b/main.c @@ -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) {