Commit 6a785946185202aa3e1841c8bbd236d8b2470ae5

ckolivas 2012-02-15T14:47:02

Make SDK 2.6 warning and advice big and bold.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/ocl.c b/ocl.c
index 4d2d301..42b4e1e 100644
--- a/ocl.c
+++ b/ocl.c
@@ -490,7 +490,10 @@ build:
 		(strstr(vbuff, "844.4") /* Linux 64 bit ATI 2.6 SDK */	||
 		 strstr(vbuff, "851.4") /* Windows 64 bit "" */		||
 		 strstr(vbuff, "831.4") /* Windows & Linux 32 bit "" */ )) {
-			applog(LOG_WARNING, "SDK 2.6 detected, using poclbm kernel");
+			applog(LOG_WARNING, "AMD OpenCL SDK 2.6 detected, using poclbm kernel");
+			applog(LOG_WARNING, "This SDK will give POOR PERFORMANCE on this device");
+			applog(LOG_WARNING, "To get best performance, remove any .bin files generated by cgminer,");
+			applog(LOG_WARNING, "downgrade your SDK to 2.1-2.5 and restart cgminer.");
 			clState->chosen_kernel = KL_POCLBM;
 			strcpy(filename, POCLBM_KERNNAME".cl");
 			strcpy(binaryfilename, POCLBM_KERNNAME);