program compiles and runs with device=CPU, but opencl compiler hangs with device=GPU
A non trivial OpenCL 7000 line OpenCL program compiles and executes correctly using the CPU as a target.
cl::Context context(CL_DEVICE_TYPE_CPU, ...
(everything OK, program builds and executes correctly)
The OpenCL compiler hangs when we try compiling the same code specificing the GPU as thte target device
cl::Context context(CL_DEVICE_TYPE_GPU, ...
The primary environment is
Intel i7 980 CPU (Dell XPS 9100)
Sapphire HD 6970
either Ubuntu 10.04 LTS AMD64 or WIN7 VS 2008
Catalyst 11_8
AMD APP 2.5
The choice of OS makes no differnce: device=CPU works but with device=GPU, the OpenCL compiler hangs.
We have tried Catalyst 11_5, 11_6, 11_7, 11_8 and APP 2.4 as well as 2.5 with identical results in both the Ubuntu and WIN7 environments.
We have tried using gnu gcc in C99 mode (-std=c99) to search for questionable or bad syntax.
Suggestions?