summaryrefslogtreecommitdiff
path: root/kernels/compiler_lower_return1.cl
blob: bcb6b7f057f4ce29197a3ea2a9f7123185d86763 (plain)
1
2
3
4
5
6
7
8
__kernel void
compiler_lower_return1(__global int *src, __global int *dst) {
  const int id = get_global_id(0);
  dst[id] = id;
  if (id < 11 && (src[id] > 0 || src[id+16] < 2)) return;
  dst[id] = src[id];
}