Compilation of the following kernel loops indefinitely:
kernel void A() { int a = get_global_id(0); while (a < 512) {} }
Passing argument -cl-opt-disable to clBuildProgram() prevents this.
Reproduced on:
- /opt/intel/opencl-1.2-6.4.0.25/lib64/libintelocl.so
- /opt/intel/opencl-1.2-4.4.0.117/lib64/libintelocl.so