Browse Source

Officially support diakgcn in code and docs.

Con Kolivas 14 years ago
parent
commit
89b32b1738
3 changed files with 3 additions and 3 deletions
  1. 1 1
      README
  2. 1 1
      cgminer.c
  3. 1 1
      device-gpu.c

+ 1 - 1
README

@@ -183,7 +183,7 @@ GPU only options:
 --gpu-vddc <arg>    Set the GPU voltage in Volts - one value for all or separate by commas for per card.
 --gpu-vddc <arg>    Set the GPU voltage in Volts - one value for all or separate by commas for per card.
 --intensity|-I <arg> Intensity of GPU scanning (d or -10 -> 10, default: d to maintain desktop interactivity)
 --intensity|-I <arg> Intensity of GPU scanning (d or -10 -> 10, default: d to maintain desktop interactivity)
 --kernel-path|-K <arg> Specify a path to where the kernel .cl files are (default: "/usr/local/bin")
 --kernel-path|-K <arg> Specify a path to where the kernel .cl files are (default: "/usr/local/bin")
---kernel|-k <arg>   Select kernel to use (poclbm or phatk - default: auto)
+--kernel|-k <arg>   Select kernel to use (poclbm, phatk or diakgcn - default: auto)
 --no-restart        Do not attempt to restart GPUs that hang
 --no-restart        Do not attempt to restart GPUs that hang
 --temp-hysteresis <arg> Set how much the temperature can fluctuate outside limits when automanaging speeds (default: 3)
 --temp-hysteresis <arg> Set how much the temperature can fluctuate outside limits when automanaging speeds (default: 3)
 --temp-overheat <arg> Overheat temperature when automatically managing fan and GPU speeds (default: 85)
 --temp-overheat <arg> Overheat temperature when automatically managing fan and GPU speeds (default: 85)

+ 1 - 1
cgminer.c

@@ -714,7 +714,7 @@ static struct opt_table opt_config_table[] = {
 	             "Specify a path to where the kernel .cl files are"),
 	             "Specify a path to where the kernel .cl files are"),
 	OPT_WITH_ARG("--kernel|-k",
 	OPT_WITH_ARG("--kernel|-k",
 		     opt_set_charp, NULL, &opt_kernel,
 		     opt_set_charp, NULL, &opt_kernel,
-		     "Select kernel to use (poclbm or phatk - default: auto)"),
+		     "Select kernel to use (poclbm, phatk or diakgcn - default: auto)"),
 #endif
 #endif
 	OPT_WITHOUT_ARG("--load-balance",
 	OPT_WITHOUT_ARG("--load-balance",
 		     set_loadbalance, &pool_strategy,
 		     set_loadbalance, &pool_strategy,

+ 1 - 1
device-gpu.c

@@ -1000,7 +1000,7 @@ static void opencl_detect()
 		    strcmp(opt_kernel, "phatk") &&
 		    strcmp(opt_kernel, "phatk") &&
 		    strcmp(opt_kernel, "diakgcn") &&
 		    strcmp(opt_kernel, "diakgcn") &&
 		    strcmp(opt_kernel, "diablo"))
 		    strcmp(opt_kernel, "diablo"))
-			quit(1, "Invalid kernel name specified - must be poclbm or phatk");
+			quit(1, "Invalid kernel name specified - must be poclbm, phatk or diakgcn");
 		if (!strcmp(opt_kernel, "diakgcn"))
 		if (!strcmp(opt_kernel, "diakgcn"))
 			chosen_kernel = KL_DIAKGCN;
 			chosen_kernel = KL_DIAKGCN;
 		else if (!strcmp(opt_kernel, "poclbm"))
 		else if (!strcmp(opt_kernel, "poclbm"))