Figured I'd test out scrypt mining, since I've never looked at it before today. Yes, yes, I'm late to the LTC party. Still haven't arrived.
[2013-04-03 04:29:42] Error -11: Building Program (clBuildProgram)
[2013-04-03 04:29:42] "/tmp/OCLpFoFQK.cl", line 762: error: identifier "LOOKUP_GAP" is undefined
const uint ySIZE = (1024/LOOKUP_GAP+(1024%LOOKUP_GAP>0));
^
"/tmp/OCLpFoFQK.cl", line 763: error: identifier "CONCURRENT_THREADS" is
undefined
const uint xSIZE = CONCURRENT_THREADS;
^
2 errors detected in the compilation of "/tmp/OCLpFoFQK.cl".
Internal error: clc compiler invocation failed.
Running a pair of 7970s, Catalyst 12.6 ("8.98.2" driver). Linux 2.6.32-5-amd64. cgminer 2.11.3, latest pull from git. I've tried poking different SDK versions in (2.6, 2.7, 2.8), but 2.8 makes my cards undetectable by cgminer. Have not messed with other catalyst versions yet; I need to pull an image of the USB stick before I try to break something that severely.
Searches on CONCURRENT_THREADS in this thread pointed to a post that referred to a different thread that didn't appear to contain an answer (was the rally to raise funds to get scrypt included in cgminer) and it eventually referred back to this thread. I unfortunately didn't see much on LOOKUP_GAP errors, either.
Has anyone seen this behavior before? Based on the 'undefined' errors when compiling the kernel I assume I'm missing the definitions in the headers with the CL platform, which makes me think SDK or driver version issues... the 2.7 SDK lib/x86_64 files are symlink'd into /usr/lib and the CL header directory into /usr/include. cgminer compiles fine; the problem comes at execution time and only if scrypt is selected as the kernel. (except in the case of 2.8 SDK, in which case it can't enumerate cards regardless of kernel)
EDIT: Fixed. Learned that it's not enough to set kernel:scrypt. also must set scrypt:true.