This OpenCL program lets the parser? crash when compiling it in SKA 1.7:
// Enter your kernel in this window
__kernel void main(__global float2 *x) {
x[get_global_id(0)] = (float2)(x[get_global_id(0)].;
}
Sure it is not correct, but a crashing is not the best hint to invalid input
I just deleted the dot(.) in line 3 and put a closing bracket. the code worked with ska on my system.
// Enter your kernel in this window __kernel void main(__global float2 *x) { x[get_global_id(0)] = (float2)(x[get_global_id(0)]); }