adminc

Possible Bug with AMD's OpenCL compiler

Discussion created by adminc on May 19, 2011
Latest reply on May 30, 2011 by Kamo-chan

My system is freezing when I attempt to compile the attached kernel.  I also tried running the kernel in CPU mode and the system did not freeze.  The infinite while loop makes X stop responding and requires me to reboot my system.

I am running Ubuntu 10.10 64bit with the 11.5 Driver.  I am using the 2.4 SDK as well.

 

Could someone else confirm this or is there a mistake I am making?  Note: this freezes during the compile; it never actualy gets to execute.

 

 

__kernel void start(__global int * a, __global int * b, __global int * c) { int i = get_global_id(1); while(1) c[i] = a[i] + b[i]; }

Outcomes