summaryrefslogtreecommitdiff
path: root/kernels/compiler_obread.cl
blob: 14658d960159added012e299f6c68b06b844a3ab (plain)
1
2
3
4
5
6
7
8
__kernel void
compiler_obread(__global uint *src, __global uint *dst)
{
  int id = (int)get_global_id(0);
  const int to =  __gen_ocl_obread(src+id);
  dst[id] = to;
}