summaryrefslogtreecommitdiff
path: root/vec_load.cl
blob: 1b955a09c744f48f10b9a6a2999d1d90e898bff9 (plain)
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;
}