From a38f01c9a2054391b6f34c4c31d2dc1c7d10ec78 Mon Sep 17 00:00:00 2001 From: Noel Maersk Date: Sat, 22 Feb 2014 16:38:47 +0200 Subject: [PATCH] misc: explain gpu-threads comment FIXME. --- sgminer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sgminer.c b/sgminer.c index b299b7ec..e8ac3394 100644 --- a/sgminer.c +++ b/sgminer.c @@ -1131,7 +1131,8 @@ static struct opt_table opt_config_table[] = { set_int_0_to_9999, opt_show_intval, &opt_platform_id, "Select OpenCL platform ID to use for GPU mining"), #ifndef HAVE_ADL - OPT_WITH_ARG("--gpu-threads|-g", // FIXME: why is this in a conditional? + // gpu-threads can only be set per-card if ADL is available + OPT_WITH_ARG("--gpu-threads|-g", set_int_1_to_10, opt_show_intval, &opt_g_threads, "Number of threads per GPU (1 - 10)"), #else