diff options
Diffstat (limited to 'kernels/compiler_array4.cl')
-rw-r--r-- | kernels/compiler_array4.cl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kernels/compiler_array4.cl b/kernels/compiler_array4.cl new file mode 100644 index 00000000..6ddc9732 --- /dev/null +++ b/kernels/compiler_array4.cl @@ -0,0 +1,9 @@ +__kernel void +compiler_array4(__global int4 *src4, __global int4 *dst4, int offset) +{ + int i; + int final[16]; + __global int *dst = (__global int *)(dst4 + offset + get_global_id(0)); + __global int *src = (__global int *)(src4 + offset + get_global_id(0)); + dst[-4] = src[-4]; +} |