diff options
author | Benjamin Segovia <devnull@localhost> | 2012-05-13 17:57:02 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-08-10 16:17:28 -0700 |
commit | 12f0006d541f1b60fe5d0a31c2c3f528bda5d2ba (patch) | |
tree | 012110f2e4ef0b7e59103f5382818b6d43fd619b /kernels/compiler_uint3_copy.cl | |
parent | 75068394446f80602796fca9959beb0bc5156ca6 (diff) |
Added tests for uint2/3/4 loads / stores and unaligned versions of them
Diffstat (limited to 'kernels/compiler_uint3_copy.cl')
-rw-r--r-- | kernels/compiler_uint3_copy.cl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernels/compiler_uint3_copy.cl b/kernels/compiler_uint3_copy.cl new file mode 100644 index 00000000..7dc71b26 --- /dev/null +++ b/kernels/compiler_uint3_copy.cl @@ -0,0 +1,7 @@ +__kernel void +compiler_uint3_copy(__global uint3 *src, __global uint3 *dst) +{ + int id = (int)get_global_id(0); + dst[id] = src[id]; +} + |