summaryrefslogtreecommitdiff
path: root/kernels/compiler_long_shr.cl
blob: d4e859cb302e94a216a8c4524e471f36e71ac58a (plain)
1
2
3
4
5
6
7
kernel void compiler_long_shr(global ulong *src, global ulong *dst) {
  int i = get_global_id(0);
  if(i > 7)
    dst[i] = src[i] >> i;
  else
    dst[i] = src[i] + 1;
}