beta4 problem
Compiling the following kernel:
__kernel void test( int dummy ) {
__local int i;
}
gives the error:
internal error: array_element_type: non-array type
__local int i;
A work-around is to change "int i" to "int i[1]" and subsequent uses of i to i[0].