1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-10 23:08:07 +00:00

Make SDK 2.6 warning and advice big and bold.

This commit is contained in:
ckolivas 2012-02-15 14:47:02 +11:00
parent c235c7e373
commit 6a78594618

5
ocl.c
View File

@ -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);