summaryrefslogtreecommitdiff
path: root/kernels/compiler_uint3_unaligned_copy.cl
blob: a50f0ab557cb899470a40d79530310652e841c97 (plain)
1
2
3
4
5
6
7
8
__kernel void
compiler_uint3_unaligned_copy(__global uint *src, __global uint *dst)
{
  const int id = (int)get_global_id(0);
  const uint3 from = vload3(id, src);
  vstore3(from, id, dst);
}