summaryrefslogtreecommitdiff
path: root/kernels/compiler_region1.cl
blob: 9deb63cd1b5268b5b794a33d2b83c1ee9beec0e1 (plain)
1
2
3
4
5
6
7
8
9
__kernel void
compiler_region1(__global uint *src, __global uint *dst)
{
  __gen_ocl_force_simd16();
  int id = (int)get_global_id(0);
  const int x0 = src[id];
  dst[id] = __gen_ocl_region(0, 16, 8, 2, x0);
}