summaryrefslogtreecommitdiff
path: root/kernels/compiler_integer_division.cl
blob: 146daa03e4a59e6aa0c47060644769acbbf64df1 (plain)
1
2
3
4
5
6
__kernel void
compiler_integer_division(__global int *src, __global int *dst, int x)
{
  dst[get_global_id(0)] = src[get_global_id(0)] / x;
}