Browse Source

opencl: Deprecate --auto-{fan,gpu} and --gpu-dyninterval options

Luke Dashjr 12 years ago
parent
commit
145f0d4db9
3 changed files with 3 additions and 7 deletions
  1. 0 3
      README
  2. 0 1
      driver-opencl.c
  3. 3 3
      miner.c

+ 0 - 3
README

@@ -297,9 +297,6 @@ See example.conf for an example configuration.
 
 GPU only options:
 
---auto-fan          Automatically adjust all GPU fan speeds to maintain a target temperature
---auto-gpu          Automatically adjust all GPU engine clock speeds to maintain a target temperature
---gpu-dyninterval <arg> Set the refresh interval in ms for GPUs using dynamic intensity (default: 7)
 --gpu-map <arg>     Map OpenCL to ADL device order manually, paired CSV (e.g. 1:0,2:1 maps OpenCL 1 to ADL 0, 2 to 1)
 --gpu-platform <arg> Select OpenCL platform ID to use for GPU mining
 --gpu-reorder       Attempt to reorder GPU devices according to PCI Bus ID

+ 0 - 1
driver-opencl.c

@@ -740,7 +740,6 @@ void pause_dynamic_threads(int gpu)
 		thr = cgpu->thr[i];
 		if (!thr->pause && data->dynamic) {
 			applog(LOG_WARNING, "Disabling extra threads due to dynamic mode.");
-			applog(LOG_WARNING, "Tune dynamic intensity with --gpu-dyninterval");
 		}
 
 		thr->pause = data->dynamic;

+ 3 - 3
miner.c

@@ -1954,10 +1954,10 @@ static struct opt_table opt_config_table[] = {
 #ifdef HAVE_ADL
 	OPT_WITHOUT_ARG("--auto-fan",
 			opt_set_bool, &opt_autofan,
-			"Automatically adjust all GPU fan speeds to maintain a target temperature"),
+			opt_hidden),
 	OPT_WITHOUT_ARG("--auto-gpu",
 			opt_set_bool, &opt_autoengine,
-			"Automatically adjust all GPU engine clock speeds to maintain a target temperature"),
+			opt_hidden),
 #endif
 	OPT_WITHOUT_ARG("--balance",
 		     set_balance, &pool_strategy,
@@ -2058,7 +2058,7 @@ static struct opt_table opt_config_table[] = {
 #ifdef HAVE_OPENCL
 	OPT_WITH_ARG("--gpu-dyninterval",
 		     set_int_1_to_65535, opt_show_intval, &opt_dynamic_interval,
-		     "Set the refresh interval in ms for GPUs using dynamic intensity"),
+		     opt_hidden),
 	OPT_WITH_ARG("--gpu-platform",
 		     set_int_0_to_9999, opt_show_intval, &opt_platform_id,
 		     "Select OpenCL platform ID to use for GPU mining"),