I have a problem that clBuildProgram hangs. The following kernel was tested with the HelloCL sample :
__kernel void test(__local float* s1,__local float* s2,__global float4* s1_s2_result)
This happens only when compiling OpenCL 1.2 AMD-APP (923.1) for the GPU.
Compiling for the CPU goes fine.