SIGSEGV in clBuildProgram on beignet 1.3
Hello,
I've found that I always trigger a SIGSEGV in clBuildProgram
with a specific kernel (I stripped it down to the minimum).
__kernel void calculate(__global const uint *values,
__local uint *b,
__local uint *c)
{
uint gid = get_global_id(0);
uint lid = get_local_id(0);
uint group_size = get_local_size(0);
c[lid] = b[lid] = values[gid];
for(uint stride = 1; stride < group_size; stride <<= 1) {
c[lid] = b[lid];
// Swap
__local uint *tmp=b;
b=c;
c=tmp;
}
}
I'm on beignet 1.3
with Intel(R) HD Graphics Skylake ULT GT2
, see: clinfo.txt.
Here's the code to reproduce: