Browse Source

Officially support diakgcn in code and docs.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
89b32b1738
  1. 2
      README
  2. 2
      cgminer.c
  3. 2
      device-gpu.c

2
README

@ -183,7 +183,7 @@ GPU only options: @@ -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.
--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|-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
--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)

2
cgminer.c

@ -714,7 +714,7 @@ static struct opt_table opt_config_table[] = { @@ -714,7 +714,7 @@ static struct opt_table opt_config_table[] = {
"Specify a path to where the kernel .cl files are"),
OPT_WITH_ARG("--kernel|-k",
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
OPT_WITHOUT_ARG("--load-balance",
set_loadbalance, &pool_strategy,

2
device-gpu.c

@ -1000,7 +1000,7 @@ static void opencl_detect() @@ -1000,7 +1000,7 @@ static void opencl_detect()
strcmp(opt_kernel, "phatk") &&
strcmp(opt_kernel, "diakgcn") &&
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"))
chosen_kernel = KL_DIAKGCN;
else if (!strcmp(opt_kernel, "poclbm"))

Loading…
Cancel
Save