cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

landmann
Journeyman III

SKA crash

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

0 Likes
2 Replies
himanshu_gautam
Grandmaster

SKA crash

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)]); }

0 Likes
MicahVillmow
Staff
Staff

SKA crash

landmann,
SDK 2.4 will have this fixed. Thanks for reporting the issue.
0 Likes