prg = cl.Program(ctx, """
#include <math.h>
__kernel void sq(__global const float *a, __global float *c)
{
int gid = get_global_id(0);
c[gid] = sqrt(a[gid]);
}
""").build()
line 2: catastrophic error:
cannot open source file "math.h"
#include math.h