building an OpenCL program for GPU crashes.
The code has some parameters, namely loop bounds and local array sizes. For some parameter combinations clBuildProgram causes a segmentation fault, some are working fine and some builds are nor reproducible. The program builds and runs fine with AMDAPP OpenCL for CPU device (and for Nvidia OpenCL for GPU). The problem occurs with current and previous versions of AMDAPP.
The clBuildProgram invokes a compiler, which may print warnings or error messages, may fail to optimize code, but should never crash.