AnsweredAssumed Answered

clBuildProgram segmentation fault

Question asked by yurtesen on May 22, 2014
Latest reply on Aug 21, 2014 by tmaconfire

__kernel void testcrash (
        __global double *diout


double *d_XP = diout;
d_XP[0] = 10.0;



I have a super simple kernel. This seems to be crashing the compiler only for GPU devices, it works fine for CPU devices. I can see from OpenCL reference manual that the pointer d_XP should be of type __global also (and this fixes the segmentation fault actually) but forgetting this shouldn't case segmentation faults, instead should create an error message ?