summaryrefslogtreecommitdiff
path: root/memcpy.cl
blob: 5451cad93a4a09f36fd64286d0ebec10dc886cfa (plain)
1
2
3
4
5
6
__kernel void memcpy(__global int * dst, __global int * src, int items)
{
   for (int i = 0; i < items; i++) {
      dst[i] = src[i];
   }
}