diff options
author | Benjamin Segovia <segovia.benjamin@gmail.com> | 2012-04-16 18:37:55 +0000 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2012-08-10 16:16:28 -0700 |
commit | 94bb066c9b4d8a656e99cfb185af2875df8a113c (patch) | |
tree | a5225986f1295ed7d2c2c546767ea28b8740d235 /kernels/test_copy_buffer_row.cl | |
parent | 295e6538f97bd05fa918d76fe95602c6aa777c6f (diff) |
Removed unused binaries from windows compiler
Diffstat (limited to 'kernels/test_copy_buffer_row.cl')
-rw-r--r-- | kernels/test_copy_buffer_row.cl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/kernels/test_copy_buffer_row.cl b/kernels/test_copy_buffer_row.cl new file mode 100644 index 00000000..5d0f6aeb --- /dev/null +++ b/kernels/test_copy_buffer_row.cl @@ -0,0 +1,9 @@ +__kernel void +test_copy_buffer_row(__global int *src, __global int *dst, __global int *data) +{ + int row = data[0]; + int size = data[1]; + int id = (int) get_global_id(0); + for (; id < size; id += row) dst[id] = src[id]; +} + |