1 2 3 4 5 6 7 8 9 10 11
__kernel void vec_load(__global int * out, __global int4* in) { int4 value = in[0]; out[0] = value.s0; out[1] = value.s1; out[2] = value.s2; out[3] = value.s3; }