0 Replies Latest reply on Sep 4, 2011 4:21 PM by mjharvey

    Compiler segfault for kernels using short ints



      The attached kernel will cause the 2.5 compiler to segfault. Kernel compiles correctly if the short int is converted to an int.

      Test system is 64bit SDK 2.5 and fglrx driver  8.80.5 [Nov 25 2010] on 64bit Ubuntu. Fglrx driver is that installed automatically by ubuntu.



      __kernel void foo( __global int *x ) { __local short int xx[100]; xx[ get_local_id(0) ] = x[0]; }