diff options
Diffstat (limited to 'memcpy.cl')
-rw-r--r-- | memcpy.cl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/memcpy.cl b/memcpy.cl new file mode 100644 index 0000000..5451cad --- /dev/null +++ b/memcpy.cl @@ -0,0 +1,6 @@ +__kernel void memcpy(__global int * dst, __global int * src, int items) +{ + for (int i = 0; i < items; i++) { + dst[i] = src[i]; + } +} |