Quantcast
Channel: Intel® Software - OpenCL*
Viewing all articles
Browse latest Browse all 1182

Optimizer hangs on non-terminating while loop

$
0
0

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

 


Viewing all articles
Browse latest Browse all 1182

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>