From 89b32b17382d5782629fd5c57c8641e8f610a350 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 20 Feb 2012 09:28:01 +1100 Subject: [PATCH] Officially support diakgcn in code and docs. --- README | 2 +- cgminer.c | 2 +- device-gpu.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index f3c0a26f..0a949fa2 100644 --- a/README +++ b/README @@ -183,7 +183,7 @@ GPU only options: --gpu-vddc Set the GPU voltage in Volts - one value for all or separate by commas for per card. --intensity|-I Intensity of GPU scanning (d or -10 -> 10, default: d to maintain desktop interactivity) --kernel-path|-K Specify a path to where the kernel .cl files are (default: "/usr/local/bin") ---kernel|-k Select kernel to use (poclbm or phatk - default: auto) +--kernel|-k Select kernel to use (poclbm, phatk or diakgcn - default: auto) --no-restart Do not attempt to restart GPUs that hang --temp-hysteresis Set how much the temperature can fluctuate outside limits when automanaging speeds (default: 3) --temp-overheat Overheat temperature when automatically managing fan and GPU speeds (default: 85) diff --git a/cgminer.c b/cgminer.c index d7dfb475..0e2d4496 100644 --- a/cgminer.c +++ b/cgminer.c @@ -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, diff --git a/device-gpu.c b/device-gpu.c index 44aa499d..836d077d 100644 --- a/device-gpu.c +++ b/device-gpu.c @@ -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"))