Attached relevent opencl code...
I just added the kernel CompareHsl and added GetHslHslDifference to common.cl, now if I Build pixels.cl, KA2 crashes (not a caught-exception)
I can compile and run the kernel in code with no problems though, so just a bug for KA2.
I think it's my changes to common.cl as all my other opencl code is crashing now (were compiling okay with beta 13.8 drivers before..)
Using 13.8 beta drivers on a radeon 5670 and windows 7 64bit.