From b93e6a4254a07782d630aee2106c44fea612aa62 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 11 Jul 2011 17:57:54 +1000 Subject: [PATCH] Show all devices even if only selected are enabled. --- main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.c b/main.c index 66dc6eb7..50513542 100644 --- a/main.c +++ b/main.c @@ -1798,7 +1798,6 @@ int main (int argc, char *argv[]) } gpu_threads = total_devices * opt_g_threads; } else { - total_devices = nDevs; gpu_threads = nDevs * opt_g_threads; for (i = 0; i < nDevs; i++) gpu_devices[i] = true; @@ -1812,7 +1811,7 @@ int main (int argc, char *argv[]) logcursor = 4; mining_threads = opt_n_threads + gpu_threads; gpucursor = logcursor; - cpucursor = gpucursor + total_devices; + cpucursor = gpucursor + nDevs; logstart = cpucursor + (opt_n_threads ? num_processors : 0); logcursor = logstart + 1;