cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

mjharvey
Adept I

Compiler segfault for kernels using short ints

Hello,

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.

 

MJH

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

0 Likes
0 Replies