The attached kernel compiles and runs without any problem on CPU. On GPU though, the compiler fails to compile it, but does not return any errors. When running it through the KernelAnalyzer, it seems compilation fails for any platform that I tried (Tahiti, Cayman, Cedar, ...). This is quite serious. Does anyone have any idea what could cause this, or how to work around it? I'm using Catalyst 12.8 and have a HD7950, if it matters.